ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-246

Details

TinyPNG uses smart lossy compression techniques to reduce the file size of your PNG files.

The module doesn't sufficiently check access to image style derivatives when those files are served via a file stream other than private://.

This vulnerability is mitigated by the fact that Drupal must be configured to use a contributed (non-core) file scheme to serve private derived images.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/tinypng
All versions before 2.0.2 (fixed in 2.0.2)

References