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

Published Nov 11, 2026
·
Updated

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.

Event History

Nov 11, 2026
CVE Published
via MITRE·12:24 PM
Data Sourced
via MITRE·12:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker needs content-editor privileges in Contao. They can place a crafted {{image::}} insert tag containing percent-encoded traversal sequences such as ..%2f.

2

What data can be exposed?

The issue can expose image files readable by the Contao process that are located outside the intended files directory. The frontend resize functionality then serves the selected file.

3

Which deployments are affected?

Affected versions are Contao 4.0.0 through before 5.3.54, 5.4.0 through before 5.7.17, and 6.0.0 through before 6.0.6. The described attack uses the {{image::}} insert tag and does not require user interaction.

4

How can I remediate the issue?

Upgrade to Contao 5.3.54, 5.7.17, or 6.0.6, as appropriate for the deployed release branch. Until upgraded, restrict content-editor access because those users can supply the malicious insert tag.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203