CVE-2026-107844

published 9 Oct 2026 · updated 14 Oct 2026

Contao: Path traversal in the images controller

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

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

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107844 severity on Zeptric[![CVE-2026-107844](https://zeptric.io/badge/cve/CVE-2026-107844.svg)](https://zeptric.io/cve/CVE-2026-107844)