{"affected":[{"defaultStatus":"unaffected","ecosystem":"composer","packageName":"contao/core-bundle","product":"Contao","source":"CNA: VulnCheck","vendor":"Contao","versions":[{"lessThan":"5.3.54","status":"affected","version":"4.0.0","versionType":"semver"},{"lessThan":"5.7.17","status":"affected","version":"5.4.0-RC1","versionType":"semver"},{"lessThan":"6.0.6","status":"affected","version":"6.0.0-RC1","versionType":"semver"}]}],"cveId":"CVE-2026-126663","cwes":["CWE-180"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.3,"severity":"medium","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":4.3,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}],"modifiedAt":1794399878010,"publishedAt":1794399878010,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/contao/contao/releases/tag/5.3.54"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/contao/contao/releases/tag/5.7.17"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/contao/contao/releases/tag/6.0.6"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"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"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40ab"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433e"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804"}],"revision":"bb2d45a04a565bd77002e1525dc36e6c65f054c23bdedff7f1749f0767c8860b","sources":[{"modifiedAt":1794399878010,"name":"CNA: VulnCheck","retrievedAt":1794402604483,"url":"https://www.cve.org/CVERecord?id=CVE-2026-126663"}],"ssvc":null,"status":"published","title":"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","updatedAt":1794402604483}