Path traversal in Contao image insert tag lets editors read files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Contao from 4.0.0 before 5.3.54, from 5.4.0-RC1 before 5.7.17, and from 6.0.0-RC1 before 6.0.6 contains a path traversal flaw in its image insert tag, where input is validated before it is decoded. A content editor with low privileges can read image files anywhere on the filesystem through the {{image::}} insert tag. Percent-encoded sequences such as ..%2f pass the path check and are decoded afterward, so the frontend resizes and serves files outside the files directory.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| contao | Contao | 4.0.0 to before 5.3.54; 5.4.0-RC1 to before 5.7.17; 6.0.0-RC1 to before 6.0.6 | 5.3.54, 5.7.17, 6.0.6 | Patch available | CNA |
- Contao Vendorcontao Affected 4.0.0 to before 5.3.54; 5.4.0-RC1 to before 5.7.17; 6.0.0-RC1 to before 6.0.6 Fixed in 5.3.54, 5.7.17, 6.0.6 Patch available CNA
Remediation
Update Contao to 5.3.54, 5.7.17, or 6.0.6, depending on the release branch in use. The sources list no fixed version for other Contao branches.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA Contao (Contao) Fixed in 5.3.54, 5.7.17, 6.0.6
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Contao 5.3.54, 5.7.17, 6.0.6
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-89734 Filemount bypass in Contao file manager Edit-MultiplePriority LOW 31
Timeline
- 2026-11-11 Threatist record created from CVE-2026-126663
- 2026-11-11 Alias added: GHSA-5qc8-mv7f-47jm
- 2026-11-16 CISA SSVC decision points changed
References
Patch 3
More contao vulnerabilities
- TI-2022-09661 Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE)… CVSS 3.1CRITICAL 9.8
- TI-2024-30849 Unrestricted file upload in Contao CVSS 3.1MEDIUM 6.4
- TI-2023-18600 Contao cross site scripting vulnerability via input unit widget CVSS 3.1MEDIUM 6.5
- TI-2014-01453 Contao CMS through 3.2.4 has PHP Object Injection Vulnerabilities CVSS 3.1CRITICAL 9.8
- TI-2022-08709 Cross site scripting via canonical tag CVSS 3.1HIGH 7.2
- TI-2019-08602 Contao 4.x allows SQL Injection. CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-126663 · CVE Program
- CVE-2026-126663 · NVD
- FIRST EPSS
- GHSA-5qc8-mv7f-47jm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences