DRUPAL-CONTRIB-2026-247

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/imageapi_optimize_webp/DRUPAL-CONTRIB-2026-247.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-247
Aliases
  • CVE-2026-114548
Published
2026-10-21T18:06:14Z
Modified
2026-10-21T18:45:02Z
Summary
[none]
Details

This module enables you to generate and serve WebP derivatives of image style images, overriding Drupal core's image style download controller to serve them.

The module serves WebP image derivative responses with the HTTP header Cache-Control: public for all file schemes other than the private file system, including the temporary file system and access-controlled custom schemes. This can lead to some users getting cached versions of files with information they should not be able to access. For example, files may be cached by Varnish or a CDN.

This vulnerability is mitigated by the fact that it only affects sites that serve image derivatives from a custom or temporary file scheme with access control, behind a shared cache that honors the Cache-Control header. Access checks are still enforced on requests that reach the site itself. An attacker would also need to know the path of a previously requested file still in cache.

This is the same vulnerability class fixed in Drupal core by SA-CORE-2025-008 and SA-CORE-2026-010; the module's controller override reintroduced the behavior.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/imageapi_optimize_webp

Package

Name
drupal/imageapi_optimize_webp
Purl
pkg:composer/drupal/imageapi_optimize_webp?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.2
Database specific
Show details
{
    "constraint":  "<2.1.2"
}

Database specific

affected_versions
"<2.1.2"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/imageapi_optimize_webp/DRUPAL-CONTRIB-2026-247.json"