Medium severity · published Oct 9, 2026
CVE-2026-107844
Contao: Path traversal in the images controller
5.3
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
contao · contao
>= 5.0.0, < 5.3.50; >= 5.4.0-RC1, < 5.7.12 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107844
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107844
x_refsource_CONFIRM
https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h
x_refsource_MISC
https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd
x_refsource_MISC
https://github.com/contao/contao/releases/tag/5.3.50
x_refsource_MISC
https://github.com/contao/contao/releases/tag/5.7.12
More from contao
9.8
CVE-2022-26265
Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE) vulnerability via the component php_cli parameter
9.8
CVE-2019-11512
Contao 4.x allows SQL Injection
9.3
CVE-2026-107845
Contao: Cross-site scripting in the comments bundle
8.8
CVE-2024-45398
Contao is an Open Source CMS
8.8
CVE-2012-4383
contao prior to 2.11.4 has a sql injection vulnerability
