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
CVSS Score
4.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-180 |
| Vendor | contao |
| Product | contao |
| Published | Nov 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for contao contao
Be the first to know when new medium vulnerabilities affecting contao contao are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
Contao / Contao
4.0.0 < 5.3.54 5.4.0-RC1 < 5.7.17 6.0.0-RC1 < 6.0.6
References
github.com: https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h github.com: https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab github.com: https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e github.com: https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804 github.com: https://github.com/contao/contao/releases/tag/5.3.54 github.com: https://github.com/contao/contao/releases/tag/5.7.17 github.com: https://github.com/contao/contao/releases/tag/6.0.6 github.com: https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582 vulncheck.com: 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
Credits
AlpetGexha ausi