CVE-2026-107844
Published:October 09, 2026
Updated:October 13, 2026
Contao is an Open Source CMS. From version 5.0.0 until 5.3.50 and 5.7.12, ImagesController joins the user-controlled {path} parameter to the configured image target directory with Path::join() but does not use Path::isBasePath() to verify that the canonical path remains inside that directory. An unauthenticated request containing encoded parent-directory segments can therefore return files under the project directory through BinaryFileResponse when their names use an extension allowed by contao.image.valid_extensions. The route can also reveal whether arbitrary paths exist, and debug responses can disclose absolute filesystem paths, but paths below the upload directory were not shown to be readable. This issue is fixed in versions 5.3.50 and 5.7.12.
Affected Packages
https://github.com/contao/contao.git (GITHUB):
Affected version(s) >=5.4.0-RC1 <5.7.12Fix Suggestion:
Update to version 5.7.12https://github.com/contao/contao.git (GITHUB):
Affected version(s) >=4.1.0 <5.3.50Fix Suggestion:
Update to version 5.3.50contao/core-bundle (PHP):
Affected version(s) >=5.4.0-RC1 <5.7.12Fix Suggestion:
Update to version 5.7.12contao/core-bundle (PHP):
Affected version(s) >=4.1.0 <5.3.50Fix Suggestion:
Update to version 5.3.50Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
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
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.31