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

State
Published
Severity
5.3 Medium
Published
Nov 11, 2026
Updated
Nov 16, 2026
Reserved
Nov 11, 2026

Read the record on cve.org

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.

ProductVersions
Contao Contao4.0.0 to before 5.3.54 Affected5.4.0-RC1 to before 5.7.17 Affected6.0.0-RC1 to before 6.0.6 Affected

Weaknesses

  • CWE-180 Incorrect Behavior Order: Validate Before Canonicalize

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.