CVE-2026-126663
Medium 5.3No known exploitationFix status unknownTitle not yet published
Record last updated
CVSS score
5.3
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.4%
Higher than 31% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-180
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
No affected products documented yet.
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php (opens in a new tab)
- https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e (opens in a new tab)
- https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab (opens in a new tab)
- https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804 (opens in a new tab)
- https://github.com/contao/contao/releases/tag/5.3.54 (opens in a new tab)
- https://github.com/contao/contao/releases/tag/5.7.17 (opens in a new tab)
- https://github.com/contao/contao/releases/tag/6.0.6 (opens in a new tab)
- https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h (opens in a new tab)
- https://www.vulncheck.com/advisories/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 (opens in a new tab)