CVE-2026-107844 · GHSA-mrvp-7wmx-5m4h
Contao: Path traversal in the images controller
- Risk score
- 41/100
- CVSS
- 5.3 v3.1
- Exploit chance (30 days)
- 0.3%
- Published
- 9 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 reques…
- Affected
- contao/core-bundle (composer) >= 4.1.0, < 5.3.50; contao/core-bundle (composer) >= 5.4.0-RC1, < 5.7.12
- Fix
- Upgrade contao/core-bundle to 5.3.50 or 5.7.12 (whichever matches your release line) or later.
- Exploitation
- No known exploitation
Story map
At a glance
contao/core-bundle: Yellow, plan it in. 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 reques…
The flaws
- CVE-2026-107844: Contao: Path traversal in the images controller (CVSS 5.3 · EPSS 0%)
- CVE-2026-107842: Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled (CVSS 5.3 · EPSS 0%)
- CVE-2026-107843: Contao: The registration module re-sends activation mails (CVSS 5.3 · EPSS 0%)
The fix
Upgrade contao/core-bundle: 5.3.50 · 5.7.12 or later on your release line
Who is exposed: contao/core-bundle (composer) >= 4.1.0, < 5.3.50; contao/core-bundle (composer) >= 5.4.0-RC1, < 5.7.12
Where it stands
- No known exploitation
Connects to
- Same weakness: Path traversal (CWE-22). 399 other warnings in 30 days
Why it is Yellow
- CVSS 5.3 medium
- On your watchlist: Composer
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| contao/core-bundle | composer | >= 4.1.0, < 5.3.50 | 5.3.50 |
| contao/core-bundle | composer | >= 5.4.0-RC1, < 5.7.12 | 5.7.12 |
References
- https://github.com/advisories/GHSA-mrvp-7wmx-5m4h
- https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h
- https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd
- https://github.com/contao/contao/releases/tag/5.3.50
- https://github.com/contao/contao/releases/tag/5.7.12
- https://github.com/advisories/GHSA-mrvp-7wmx-5m4h
Original 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.
Last activity 9 Oct 2026. Patch Forecast updates every hour.