CVE-2026-126663
published medium CVSS 4.0 · 5.3Contao 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Contao | — | Contao4.0.0 to < 5.3.54 · 5.4.0-RC1 to < 5.7.17 · 6.0.0-RC1 to < 6.0.6 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Contao | Contao | 4.0.0 to < 5.3.54 (affected · semver)5.4.0-RC1 to < 5.7.17 (affected · semver)6.0.0-RC1 to < 6.0.6 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
References
9- https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582
- https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e
- https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab
- https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804
- Contao 5.3.54 Release Notes https://github.com/contao/contao/releases/tag/5.3.54
- Contao 5.7.17 Release Notes https://github.com/contao/contao/releases/tag/5.7.17
- Contao 6.0.6 Release Notes https://github.com/contao/contao/releases/tag/6.0.6
- GitHub Security Advisory (GHSA-r7cf-mfp4-r23h) https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h
- VulnCheck Advisory: 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 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-tag
Provider assertions
2VulnCheck · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0bcbfefa78af4065e6cd721a938a9ec3277bc0a7c5ce90c7352482a760988a16
- Ingested
- 16 Nov 2026, 18:17:51 UTC
- Source record
- Official CVE record