CVE-2026-126663 Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 Path Traversal via Image Insert Tag
MediumCVSS 5.3
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
Description
Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 contains a path traversal vulnerability that allows content editors to read image files anywhere on the filesystem via the {{image::}} insert tag. Attackers can embed percent-encoded sequences like ..%2f that pass Validator::isInsecurePath() before rawurldecode(), making the frontend resize and serve readable image files outside the files directory.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| contao/core-bundle | >= 4.0.0, < 5.3.54; >= 5.4.0-RC1, < 5.7.17; >= 6.0.0-RC1, < 6.0.6 | 5.3.54, 5.7.17, 6.0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| contao/core-bundle | >= 4.0.0, < 5.3.54 | 5.3.54 |
| contao/core-bundle | >= 5.4.0-RC1, < 5.7.17 | 5.7.17 |
| contao/core-bundle | >= 6.0.0-RC1, < 6.0.6 | 6.0.6 |
References
- GitHub Security Advisory (GHSA-r7cf-mfp4-r23h) vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- Contao 5.3.54 Release Notes release-notes
- Contao 5.7.17 Release Notes release-notes
- Contao 6.0.6 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 Path Traversal via Image Insert Tag third-party-advisory
- ENISA EUVD EUVD-2026-123405 third-party-advisory