Security mailing lists by PureSourceCode

CVE-2026-107844

MEDIUM 5.3CVSS 3.1

Contao: Path traversal in the images controller

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.

Published
9 Oct 2026
Last modified
16 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-mrvp-7wmx-5m4h
Sources
NVDJSONOSV GHSA-mrvp-7wmx-5m4hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist contao/core-bundle >= 4.1.0, < 5.3.50 5.3.50
OSV Packagist contao/core-bundle >= 5.4.0-RC1, < 5.7.12 5.7.12

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 9 Oct 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.