CVE-2026-126663: Contao · Incorrect Behavior Order: Validate Before Canonicalize
Affects ContaoSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium · fixed in 6.0.6 : update Contao when convenient.
Data as of 11 Nov 2026, 12:48 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.3 |
- Patch
- Available – fixed in 6.0.6, 5.7.17, 5.3.54
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Upgrade Contao to 6.0.6, 5.7.17 or 5.3.54.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ContaoContao | Affected
| Fixed in
|
| ContaoContao | Affected
| Fixed in
|
| ContaoContao | Affected
| Fixed in
|
PackagistContaopkg:composer/ContaoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions are available: 5.3.54, 5.7.17, and 6.0.6. Users should upgrade to these or later versions to remediate the vulnerability. No other mitigation or temporary workaround is indicated by the vendor advisory.
Description
CVE-2026-126663 is a path traversal vulnerability in Contao versions 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6. It allows content editors to read image files anywhere on the filesystem via the {{image::}} insert tag by exploiting incorrect validation order of paths. Attackers can use percent-encoded sequences to bypass the Validator::isInsecurePath() check, causing the frontend to serve files outside the intended directory.
References
- github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h (opens in a new tab)
- github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab (opens in a new tab)
- github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e (opens in a new tab)
- github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804 (opens in a new tab)
- github.com/contao/contao/releases/tag/5.3.54 (opens in a new tab)
- github.com/contao/contao/releases/tag/5.7.17 (opens in a new tab)
- github.com/contao/contao/releases/tag/6.0.6 (opens in a new tab)
- github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php (opens in a new tab)
- 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 (opens in a new tab)