drupal/tinypng - SA-CONTRIB-2026-246
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/tinypng | < 2.0.2 | 2.0.2 |
| Drupal module | drupal/tinypng | < 2.0.2 | 2.0.2 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/tinypng- Disclosed
- 21.10.2026
- Updated
- 22.10.2026 18:07
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-246 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/tinypng
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.