Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as content editor
-
DeliveryCraft {{image::}} tag with ..%2f sequence
-
ExploitBypass isInsecurePath on raw string
-
ExecutionServer decodes, resizes, serves file
-
ImpactDisclose image file outside files/ directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Leading special element handling
|
| Exploitation Conditions | Requires an authenticated Contao backend account with content-editing privileges that can insert {{image::}} insert tags (PR:L); anonymous frontend visitors cannot trigger it. The specific trigger is a percent-encoded path-traversal sequence (e.g. ..%2f) in the image insert tag argument, which passes Validator::isInsecurePath() because the check runs on the raw string before rawurldecode(), and ImageFactory::create() enforces no base-directory containment. Exploitation is LIMITED to files with image extensions (raster plus svg/svgz) - non-image extensions raise 'Image type not allowed' - and discloses only the rendered visual content, not arbitrary file bytes. Applies to Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6; no user interaction beyond the attacker's own authenticated action is needed. |
| Impact | This is a moderate, authentication-gated information-disclosure issue rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with a base score of 5.3 shows a network-reachable, low-complexity flaw that nonetheless requires PR:L - a privileged content-editor account - which substantially shrinks the attacker population to users who already have authenticated backend access. Impact is deliberately narrow: only VC:L (confidentiality of image-type file contents), with VI:N/VA:N and no scope change (SC/SI/SA:N), consistent with the advisory's statement that disclosure is bounded to raster and SVG/SVGZ files and that non-image extensions are rejected. No EPSS score, KEV listing, or confirmed exploit code was supplied; the references are vendor advisories and patch commits, not weaponized PoC. The vulnerability class is well understood - CWE-180/CWE-22 decode-after-check, where Validator::isInsecurePath() runs on the raw string before rawurldecode(), letting ..%2f bypass the guard (confirmed by the commit diff). The vuln.today Decision label is 'this_month', aligning with a prioritize-but-not-urgent posture: real, patchable, but limited by the authentication requirement and the confidentiality-only, image-only impact. No signals are strongly conflicting; the main caveat is that EPSS/KEV data is simply absent, so exploitation-likelihood cannot be independently quantified from the input. |
| Exploit ScenarioDerived | A logged-in Contao content editor - normally confined to the files/ directory by the backend file picker - crafts an {{image::}} insert tag containing a percent-encoded traversal sequence such as ..%2f to point outside their granted scope. Because Validator::isInsecurePath() checks the raw string before rawurldecode() expands it, the guard is bypassed and the frontend resizes and serves an image-type file from anywhere on the filesystem, including above the project root. No public exploit code was identified in the provided data, though the mechanism is fully disclosed in the vendor advisory and patch commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Path traversal in Contao CMS (contao/core-bundle) lets an authenticated content editor force the server to read, resize and serve image files outside their granted files/ directory, including locations above the project root. The legacy {{image::}} insert tag validates its argument with Validator::isInsecurePath() on the raw string, so a percent-encoded sequence such as ..%2f passes the check before rawurldecode() is applied, and ImageFactory::create() performs no base-directory containment. Impact is bounded to image-type files (raster plus svg/svgz) and to their rendered visual content, the attacker must hold a backend content-editing account (PR:L), and no public exploit has been identified at time of analysis; vendor fixes are released in 5.3.54, 5.7.17 and 6.0.6.
RemediationAI
Vendor-released patch: upgrade to 5.3.54, 5.7.17 or 6.0.6 depending on your branch (release tags https://github.com/contao/contao/releases/tag/5.3.54, https://github.com/contao/contao/releases/tag/5.7.17, https://github.com/contao/contao/releases/tag/6.0.6). The fix changes the legacy insert tag to run Validator::isInsecurePath() against rawurldecode($strFile) instead of the raw argument, closing the decode-after-check gap; it is delivered in commits 688c0f6213afbd000cd22ad0a44555eca80b40ab, 0f7989eb5b28d85dcd441ef22f80f8af4f56433e and e820e3c9d79a5c07f274558513c8db08a79bf804, with the advisory at https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23h. Until the upgrade is applied, the exposure is gated by the requirement for a backend account with content-editing privileges, so limiting content-editor accounts to trusted staff - and auditing existing editor accounts for unnecessary access - reduces the attack surface, at the cost of tightening editorial workflows; note this is a scope reduction, not a correction of the underlying validation order.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a decode-after-check ordering error (CWE-180, mapped to CWE-22 path traversal) in Contao's legacy insert tag resolver, core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php. When a content editor embeds {{image::<path>}}, the resolver calls Validator::isInsecurePath() against the raw, still-encoded argument; because the guard inspects the string before rawurldecode() runs, encoded traversal segments (for example ..%2f) are not recognized as traversal and are later decoded into a real relative path. ImageFactory::create() then resolves that path without enforcing containment within the files/ directory, so the frontend image-resize pipeline will open, resize and return the resulting image, disclosing visual content of files reachable by the web server user anywhere on the filesystem, including above the project root. The advisory notes the impact is restricted to image-type extensions (raster formats plus svg/svgz); non-image extensions are rejected with 'Image type not allowed', so this is an information-disclosure primitive rather than arbitrary file read of any byte stream. Affected code is tracked as CPE cpe:2.3:a:contao:contao and shipped through the composer/contao/core-bundle package.
Know when Contao gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable insert tag with low complexity but requires an authenticated content-editor account (PR:L); impact is read-only image disclosure, so C:L with I:N/A:N and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE) vulnerability via the component
Multiple cross-site request forgery (CSRF) vulnerabilities in main.php in Contao (formerly TYPOlight) 2.11.0 and earlier
Contao is a powerful open source CMS that allows you to create professional websites and scalable web applications. Rate
Contao 4.x allows SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no auth
Contao 4.7 allows Use of a Key Past its Expiration Date. Rated critical severity (CVSS 9.8), this vulnerability is remot
Contao before 3.5.39 and 4.x before 4.7.3 has a Weak Password Recovery Mechanism for a Forgotten Password. Rated critica
Contao before 5.5.6 allows XSS via an SVG document. Rated medium severity (CVSS 5.4), this vulnerability is remotely exp
Contao is an open source content management system. Rated medium severity (CVSS 5.4), this vulnerability is remotely exp
Unauthenticated path traversal in the Contao CMS ImagesController lets remote attackers read files from the project dire
Stored cross-site scripting in the Contao CMS comments bundle lets an unauthenticated visitor submit a comment whose ema
Information disclosure in Contao CMS allows unauthenticated front-end visitors to read the titles, URLs, and indexed tex
Unauthenticated email-flooding and user-enumeration in Contao CMS: a POST to any page containing the registration module
EUVD-2026-123405
GHSA-5qc8-mv7f-47jm
NVD
CVE.org
EPSS
Exploit-DB