Skip to main content

Contao CMS CVE-2026-126663

| EUVDEUVD-2026-123405 MEDIUM
Incorrect Behavior Order: Validate Before Canonicalize (CWE-180)
2026-11-11 VulnCheck GHSA-5qc8-mv7f-47jm
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as content editor
  2. Delivery
    Craft {{image::}} tag with ..%2f sequence
  3. Exploit
    Bypass isInsecurePath on raw string
  4. Execution
    Server decodes, resizes, serves file
  5. Impact
    Disclose 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

contao 6.0.0-RC1 <6.0.6
contao 5.4.0-RC1 <5.7.17
contao 4.0.0 <5.3.54

Affected Packages

euvd contao fix: 5.3.54, 5.7.17, 6.0.6

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

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:N/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
mid-tier open-source PHP CMS, modest install base versus mainstream platforms
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Contao

View all
CVE-2022-26265 CRITICAL POC
9.8 Mar 18

Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE) vulnerability via the component

CVE-2012-1297 MEDIUM POC
6.8 Mar 19

Multiple cross-site request forgery (CSRF) vulnerabilities in main.php in Contao (formerly TYPOlight) 2.11.0 and earlier

CVE-2022-24899 MEDIUM POC
6.1 May 06

Contao is a powerful open source CMS that allows you to create professional websites and scalable web applications. Rate

CVE-2019-11512 CRITICAL
9.8 Jul 09

Contao 4.x allows SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no auth

CVE-2019-10643 CRITICAL
9.8 Apr 17

Contao 4.7 allows Use of a Key Past its Expiration Date. Rated critical severity (CVSS 9.8), this vulnerability is remot

CVE-2019-10641 CRITICAL
9.8 Apr 17

Contao before 3.5.39 and 4.x before 4.7.3 has a Weak Password Recovery Mechanism for a Forgotten Password. Rated critica

CVE-2024-45965 MEDIUM POC
5.4 Oct 02

Contao before 5.5.6 allows XSS via an SVG document. Rated medium severity (CVSS 5.4), this vulnerability is remotely exp

CVE-2023-36806 MEDIUM POC
5.4 Jul 25

Contao is an open source content management system. Rated medium severity (CVSS 5.4), this vulnerability is remotely exp

CVE-2026-107844 MEDIUM POC
5.3 Oct 09

Unauthenticated path traversal in the Contao CMS ImagesController lets remote attackers read files from the project dire

CVE-2026-107845 CRITICAL
9.3 Oct 09

Stored cross-site scripting in the Contao CMS comments bundle lets an unauthenticated visitor submit a comment whose ema

CVE-2026-107842 MEDIUM POC
5.3 Oct 09

Information disclosure in Contao CMS allows unauthenticated front-end visitors to read the titles, URLs, and indexed tex

CVE-2026-107843 MEDIUM POC
5.3 Oct 09

Unauthenticated email-flooding and user-enumeration in Contao CMS: a POST to any page containing the registration module

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy