CVE-2026-126663
JSON

5.3medium

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
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Contao Contaofrom 4.0.0 before 5.3.54, from 5.4.0-RC1 before 5.7.17, from 6.0.0-RC1 before 6.0.6CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-180

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23hvendor-advisory
https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40abpatch
https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433epatch
https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804patch
https://github.com/contao/contao/releases/tag/5.3.54release-notes
https://github.com/contao/contao/releases/tag/5.7.17release-notes
https://github.com/contao/contao/releases/tag/6.0.6release-notes
https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582technical-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-tagthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-126663 changed 2026-11-16CVE Terms of Use
NVDCVE-2026-126663 changed 2026-11-16Public domain