SecurityContext

CVE-2026-107844: Contao - Path Traversal

  • Cve: CVE-2026-107844
  • Name: Contao - Path Traversal
  • 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.
  • Impact: Unauthenticated attackers can read arbitrary files with allowed extensions, potentially disclosing sensitive information and filesystem paths.
  • Remediation: Update to versions 5.3.50 or 5.7.12 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.00312
  • Epss percentile: 0.24296
  • Assignee: [email protected]
  • Published at: 2026-10-09T20:17:10Z
  • Age in days: 46
  • Modified at: 2026-10-16T17:17:04Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-107844
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h

Products

ProductAffectedPlatform boundSourcesUrl
contao:contao>= 5.4.0-rc1, < 5.7.12; >= 5.0.0, < 5.3.50nocna_alias_text/v1/products/contao/contao

Projects

RepositoryLink kindsIndexedUrl
contao/contaocommit, fix, package, releases, security_advisoryyes/v1/repositories/contao/contao

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1935
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports