๐Ÿ” CVE Alert

CVE-2026-107844

MEDIUM 5.3

Contao: Path traversal in the images controller

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor contao
Product contao
Published Oct 9, 2026
Stay Ahead of the Next One

Get instant alerts for contao contao

Be the first to know when new medium vulnerabilities affecting contao contao are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Affected Versions

contao / contao
>= 5.0.0, < 5.3.50 >= 5.4.0-RC1, < 5.7.12

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h github.com: https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd github.com: https://github.com/contao/contao/releases/tag/5.3.50 github.com: https://github.com/contao/contao/releases/tag/5.7.12