CVE-2026-126663Contao vulnerability
CVSS score
5.3
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.36%
0.36% chance of exploitation in the next 30 days, higher than 30.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Contao and compare its version with the affected versions.
Update to a fixed version
- Update Contao to 5.3.54, 5.7.17, 6.0.6 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| contao Contao | ≥ 4.0.0, < 5.3.54 · ≥ 5.4.0-RC1, < 5.7.17 · ≥ 6.0.0-RC1, < 6.0.6 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-126663 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-126663?
CVE-2026-126663 has a CVSS 4.0 base score of 5.3 (medium).
Which versions are affected?
Contao Contao (≥ 4.0.0, < 5.3.54; ≥ 5.4.0-RC1, < 5.7.17; ≥ 6.0.0-RC1, < 6.0.6)
Is there a patch for CVE-2026-126663?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582
- github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e
- github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab
- github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804
- github.com/contao/contao/releases/tag/5.3.54
- github.com/contao/contao/releases/tag/5.7.17
- github.com/contao/contao/releases/tag/6.0.6
- github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h
- 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-tag
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.