Skip to content

CVE-2026-107844 Contao: Path traversal in the images controller

MediumCVSS 5.3 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHP

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
contao/core-bundle(Packagist) = 4.1.0; = 4.1.1; = 4.1.2; = 4.1.3 +459 more 5.3.50, 5.7.12 Fixed
contao/contao = >= 5.0.0, < 5.3.50; = >= 5.4.0-RC1, < 5.7.12 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
contao/core-bundle(Packagist) >= 4.1.0, < 5.3.50 5.3.50
contao/core-bundle(Packagist) = 4.1.0 No fix listed
contao/core-bundle(Packagist) = 4.1.1 No fix listed
contao/core-bundle(Packagist) = 4.1.2 No fix listed
contao/core-bundle(Packagist) = 4.1.3 No fix listed
contao/core-bundle(Packagist) = 4.10.0 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC3 No fix listed
contao/core-bundle(Packagist) = 4.10.0-RC4 No fix listed
contao/core-bundle(Packagist) = 4.10.1 No fix listed
contao/core-bundle(Packagist) = 4.10.2 No fix listed
contao/core-bundle(Packagist) = 4.10.3 No fix listed
contao/core-bundle(Packagist) = 4.10.4 No fix listed
contao/core-bundle(Packagist) = 4.10.5 No fix listed
contao/core-bundle(Packagist) = 4.10.6 No fix listed
contao/core-bundle(Packagist) = 4.10.7 No fix listed
contao/core-bundle(Packagist) = 4.11.0 No fix listed
contao/core-bundle(Packagist) = 4.11.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.11.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.11.1 No fix listed
contao/core-bundle(Packagist) = 4.11.2 No fix listed
contao/core-bundle(Packagist) = 4.11.3 No fix listed
contao/core-bundle(Packagist) = 4.11.4 No fix listed
contao/core-bundle(Packagist) = 4.11.5 No fix listed
Show 175 more
ProductAffected versionsFixed in
contao/core-bundle(Packagist) = 4.11.6 No fix listed
contao/core-bundle(Packagist) = 4.11.7 No fix listed
contao/core-bundle(Packagist) = 4.11.8 No fix listed
contao/core-bundle(Packagist) = 4.11.9 No fix listed
contao/core-bundle(Packagist) = 4.12.0 No fix listed
contao/core-bundle(Packagist) = 4.12.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.12.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.12.0-RC3 No fix listed
contao/core-bundle(Packagist) = 4.12.1 No fix listed
contao/core-bundle(Packagist) = 4.12.2 No fix listed
contao/core-bundle(Packagist) = 4.12.3 No fix listed
contao/core-bundle(Packagist) = 4.12.4 No fix listed
contao/core-bundle(Packagist) = 4.12.5 No fix listed
contao/core-bundle(Packagist) = 4.12.6 No fix listed
contao/core-bundle(Packagist) = 4.12.7 No fix listed
contao/core-bundle(Packagist) = 4.13.0 No fix listed
contao/core-bundle(Packagist) = 4.13.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.13.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.13.0-RC3 No fix listed
contao/core-bundle(Packagist) = 4.13.1 No fix listed
contao/core-bundle(Packagist) = 4.13.10 No fix listed
contao/core-bundle(Packagist) = 4.13.11 No fix listed
contao/core-bundle(Packagist) = 4.13.12 No fix listed
contao/core-bundle(Packagist) = 4.13.13 No fix listed
contao/core-bundle(Packagist) = 4.13.14 No fix listed
contao/core-bundle(Packagist) = 4.13.15 No fix listed
contao/core-bundle(Packagist) = 4.13.16 No fix listed
contao/core-bundle(Packagist) = 4.13.17 No fix listed
contao/core-bundle(Packagist) = 4.13.18 No fix listed
contao/core-bundle(Packagist) = 4.13.19 No fix listed
contao/core-bundle(Packagist) = 4.13.2 No fix listed
contao/core-bundle(Packagist) = 4.13.20 No fix listed
contao/core-bundle(Packagist) = 4.13.21 No fix listed
contao/core-bundle(Packagist) = 4.13.22 No fix listed
contao/core-bundle(Packagist) = 4.13.23 No fix listed
contao/core-bundle(Packagist) = 4.13.24 No fix listed
contao/core-bundle(Packagist) = 4.13.25 No fix listed
contao/core-bundle(Packagist) = 4.13.26 No fix listed
contao/core-bundle(Packagist) = 4.13.27 No fix listed
contao/core-bundle(Packagist) = 4.13.28 No fix listed
contao/core-bundle(Packagist) = 4.13.29 No fix listed
contao/core-bundle(Packagist) = 4.13.3 No fix listed
contao/core-bundle(Packagist) = 4.13.30 No fix listed
contao/core-bundle(Packagist) = 4.13.31 No fix listed
contao/core-bundle(Packagist) = 4.13.32 No fix listed
contao/core-bundle(Packagist) = 4.13.33 No fix listed
contao/core-bundle(Packagist) = 4.13.34 No fix listed
contao/core-bundle(Packagist) = 4.13.35 No fix listed
contao/core-bundle(Packagist) = 4.13.36 No fix listed
contao/core-bundle(Packagist) = 4.13.37 No fix listed
contao/core-bundle(Packagist) = 4.13.38 No fix listed
contao/core-bundle(Packagist) = 4.13.39 No fix listed
contao/core-bundle(Packagist) = 4.13.4 No fix listed
contao/core-bundle(Packagist) = 4.13.40 No fix listed
contao/core-bundle(Packagist) = 4.13.41 No fix listed
contao/core-bundle(Packagist) = 4.13.42 No fix listed
contao/core-bundle(Packagist) = 4.13.43 No fix listed
contao/core-bundle(Packagist) = 4.13.44 No fix listed
contao/core-bundle(Packagist) = 4.13.45 No fix listed
contao/core-bundle(Packagist) = 4.13.46 No fix listed
contao/core-bundle(Packagist) = 4.13.47 No fix listed
contao/core-bundle(Packagist) = 4.13.48 No fix listed
contao/core-bundle(Packagist) = 4.13.49 No fix listed
contao/core-bundle(Packagist) = 4.13.5 No fix listed
contao/core-bundle(Packagist) = 4.13.50 No fix listed
contao/core-bundle(Packagist) = 4.13.51 No fix listed
contao/core-bundle(Packagist) = 4.13.52 No fix listed
contao/core-bundle(Packagist) = 4.13.53 No fix listed
contao/core-bundle(Packagist) = 4.13.54 No fix listed
contao/core-bundle(Packagist) = 4.13.55 No fix listed
contao/core-bundle(Packagist) = 4.13.56 No fix listed
contao/core-bundle(Packagist) = 4.13.57 No fix listed
contao/core-bundle(Packagist) = 4.13.58 No fix listed
contao/core-bundle(Packagist) = 4.13.6 No fix listed
contao/core-bundle(Packagist) = 4.13.7 No fix listed
contao/core-bundle(Packagist) = 4.13.8 No fix listed
contao/core-bundle(Packagist) = 4.13.9 No fix listed
contao/core-bundle(Packagist) = 4.2.0 No fix listed
contao/core-bundle(Packagist) = 4.2.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.2.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.2.1 No fix listed
contao/core-bundle(Packagist) = 4.2.2 No fix listed
contao/core-bundle(Packagist) = 4.2.3 No fix listed
contao/core-bundle(Packagist) = 4.2.4 No fix listed
contao/core-bundle(Packagist) = 4.2.5 No fix listed
contao/core-bundle(Packagist) = 4.3.0 No fix listed
contao/core-bundle(Packagist) = 4.3.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.3.1 No fix listed
contao/core-bundle(Packagist) = 4.3.10 No fix listed
contao/core-bundle(Packagist) = 4.3.11 No fix listed
contao/core-bundle(Packagist) = 4.3.2 No fix listed
contao/core-bundle(Packagist) = 4.3.3 No fix listed
contao/core-bundle(Packagist) = 4.3.4 No fix listed
contao/core-bundle(Packagist) = 4.3.5 No fix listed
contao/core-bundle(Packagist) = 4.3.6 No fix listed
contao/core-bundle(Packagist) = 4.3.7 No fix listed
contao/core-bundle(Packagist) = 4.3.8 No fix listed
contao/core-bundle(Packagist) = 4.3.9 No fix listed
contao/core-bundle(Packagist) = 4.4.0 No fix listed
contao/core-bundle(Packagist) = 4.4.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.4.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.4.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.4.1 No fix listed
contao/core-bundle(Packagist) = 4.4.10 No fix listed
contao/core-bundle(Packagist) = 4.4.11 No fix listed
contao/core-bundle(Packagist) = 4.4.12 No fix listed
contao/core-bundle(Packagist) = 4.4.13 No fix listed
contao/core-bundle(Packagist) = 4.4.14 No fix listed
contao/core-bundle(Packagist) = 4.4.15 No fix listed
contao/core-bundle(Packagist) = 4.4.16 No fix listed
contao/core-bundle(Packagist) = 4.4.17 No fix listed
contao/core-bundle(Packagist) = 4.4.18 No fix listed
contao/core-bundle(Packagist) = 4.4.19 No fix listed
contao/core-bundle(Packagist) = 4.4.2 No fix listed
contao/core-bundle(Packagist) = 4.4.20 No fix listed
contao/core-bundle(Packagist) = 4.4.21 No fix listed
contao/core-bundle(Packagist) = 4.4.22 No fix listed
contao/core-bundle(Packagist) = 4.4.23 No fix listed
contao/core-bundle(Packagist) = 4.4.24 No fix listed
contao/core-bundle(Packagist) = 4.4.25 No fix listed
contao/core-bundle(Packagist) = 4.4.26 No fix listed
contao/core-bundle(Packagist) = 4.4.27 No fix listed
contao/core-bundle(Packagist) = 4.4.28 No fix listed
contao/core-bundle(Packagist) = 4.4.29 No fix listed
contao/core-bundle(Packagist) = 4.4.3 No fix listed
contao/core-bundle(Packagist) = 4.4.30 No fix listed
contao/core-bundle(Packagist) = 4.4.31 No fix listed
contao/core-bundle(Packagist) = 4.4.32 No fix listed
contao/core-bundle(Packagist) = 4.4.33 No fix listed
contao/core-bundle(Packagist) = 4.4.34 No fix listed
contao/core-bundle(Packagist) = 4.4.35 No fix listed
contao/core-bundle(Packagist) = 4.4.36 No fix listed
contao/core-bundle(Packagist) = 4.4.37 No fix listed
contao/core-bundle(Packagist) = 4.4.38 No fix listed
contao/core-bundle(Packagist) = 4.4.39 No fix listed
contao/core-bundle(Packagist) = 4.4.4 No fix listed
contao/core-bundle(Packagist) = 4.4.40 No fix listed
contao/core-bundle(Packagist) = 4.4.41 No fix listed
contao/core-bundle(Packagist) = 4.4.42 No fix listed
contao/core-bundle(Packagist) = 4.4.43 No fix listed
contao/core-bundle(Packagist) = 4.4.44 No fix listed
contao/core-bundle(Packagist) = 4.4.45 No fix listed
contao/core-bundle(Packagist) = 4.4.46 No fix listed
contao/core-bundle(Packagist) = 4.4.47 No fix listed
contao/core-bundle(Packagist) = 4.4.48 No fix listed
contao/core-bundle(Packagist) = 4.4.49 No fix listed
contao/core-bundle(Packagist) = 4.4.5 No fix listed
contao/core-bundle(Packagist) = 4.4.50 No fix listed
contao/core-bundle(Packagist) = 4.4.51 No fix listed
contao/core-bundle(Packagist) = 4.4.52 No fix listed
contao/core-bundle(Packagist) = 4.4.53 No fix listed
contao/core-bundle(Packagist) = 4.4.54 No fix listed
contao/core-bundle(Packagist) = 4.4.55 No fix listed
contao/core-bundle(Packagist) = 4.4.56 No fix listed
contao/core-bundle(Packagist) = 4.4.57 No fix listed
contao/core-bundle(Packagist) = 4.4.6 No fix listed
contao/core-bundle(Packagist) = 4.4.7 No fix listed
contao/core-bundle(Packagist) = 4.4.8 No fix listed
contao/core-bundle(Packagist) = 4.4.9 No fix listed
contao/core-bundle(Packagist) = 4.5.0 No fix listed
contao/core-bundle(Packagist) = 4.5.0-RC1 No fix listed
contao/core-bundle(Packagist) = 4.5.0-RC2 No fix listed
contao/core-bundle(Packagist) = 4.5.0-beta1 No fix listed
contao/core-bundle(Packagist) = 4.5.0-beta2 No fix listed
contao/core-bundle(Packagist) = 4.5.0-beta3 No fix listed
contao/core-bundle(Packagist) = 4.5.1 No fix listed
contao/core-bundle(Packagist) = 4.5.10 No fix listed
contao/core-bundle(Packagist) = 4.5.11 No fix listed
contao/core-bundle(Packagist) = 4.5.12 No fix listed
contao/core-bundle(Packagist) = 4.5.13 No fix listed
contao/core-bundle(Packagist) = 4.5.14 No fix listed
contao/core-bundle(Packagist) = 4.5.2 No fix listed
contao/core-bundle(Packagist) = 4.5.3 No fix listed
contao/core-bundle(Packagist) = 4.5.4 No fix listed
contao/core-bundle(Packagist) = 4.5.5 No fix listed

References