SA-CONTRIB-2026-246: Critical severity drupal/tinypng vulnerability
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.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
drupal/tinypngto a version that resolves this vulnerability.Fixed in 2.0.2 - Configuration
Configure Drupal to use a contributed (non-core) file scheme when serving private image style derivatives.
Drupal file scheme for private derived images = contributed (non-core) file scheme