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
CVE-2026-126663Published 11 Nov 2026, 12:24 UTC
Real-world risk
1.5/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| contaoNiche | >= 4.0.0, < 5.3.54; >= 5.4.0-RC1, < 5.7.17; >= 6.0.0-RC1, < 6.0.6 | 5.3.54, 5.7.17, 6.0.6 |
What to do
Update to a fixed version: 5.3.54, 5.7.17, 6.0.6.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 38), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.6 × threat 0.851.530
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 11 Nov 2026 Published
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-180
References
- https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23hvendor-advisory
- https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40abpatch
- https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433epatch
- https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804patch
- https://github.com/contao/contao/releases/tag/5.3.54release-notes
- https://github.com/contao/contao/releases/tag/5.7.17release-notes
- https://github.com/contao/contao/releases/tag/6.0.6release-notes
- https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582technical-description
- 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-tagthird-party-advisory
- CVE-2026-126663 on CVE.org