CVE-2026-126663
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.
How to fix
- Contao Contao5.3.54, 5.7.17, 6.0.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Contao Contao | 4.0.0 ≤ v < 5.3.54, 5.4.0-RC1 ≤ v < 5.7.17, 6.0.0-RC1 ≤ v < 6.0.6 | 5.3.54, 5.7.17, 6.0.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.