# CVE-2026-126663: 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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-11-11T12:24:38.010Z
- Modified: 2026-11-16T19:17:32.670Z
- Weaknesses: CWE-180
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Contao Contao: from 4.0.0 before 5.3.54; from 5.4.0-RC1 before 5.7.17; from 6.0.0-RC1 before 6.0.6

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h> (vendor-advisory)
- <https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab> (patch)
- <https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e> (patch)
- <https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804> (patch)
- <https://github.com/contao/contao/releases/tag/5.3.54> (release-notes)
- <https://github.com/contao/contao/releases/tag/5.7.17> (release-notes)
- <https://github.com/contao/contao/releases/tag/6.0.6> (release-notes)
- <https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582> (technical-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-tag> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126663](https://www.cve.org/CVERecord?id=CVE-2026-126663), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-126663](https://nvd.nist.gov/vuln/detail/CVE-2026-126663), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-126663 · Whole record: https://cve.day/CVE-2026-126663.json · Rebuilt by cve.day 2026-11-25T22:59:50.373Z
