PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-107844 contao CVE debrief

CVE-2026-107844 is a path traversal vulnerability in Contao's images controller. The vulnerability allows an unauthenticated request to 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.

Vendor
contao
Product
Unknown
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-09
Original CVE updated
2026-10-09
Advisory published
2026-10-09
Advisory updated
2026-10-09

Who should care

Defenders responsible for Contao installations, particularly those using versions 5.0.0 to 5.3.50 and 5.7.12, should assess exposure and apply patches. They should also review compensating controls for exposed systems, monitor for suspicious requests, and track exceptions and retest remediated assets.

Why it matters

CVE-2026-107844 is a path traversal vulnerability in Contao's images controller that can lead to unauthorized file disclosure and debug response path disclosure. Defenders should prioritize verifying exposure and applying patches for Contao versions 5.0.0 to 5.3.50 and 5.7.12.

  • Path traversal can lead to unauthorized file disclosure
  • Debug responses can disclose absolute filesystem paths
  • Existence of arbitrary paths can be revealed

Technical summary

The vulnerability is caused by the ImagesController joining the user-controlled path parameter to the configured image target directory with Path::join() but not using Path::isBasePath() to verify that the canonical path remains inside that directory. This allows an unauthenticated request to 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.

Defensive priority

Defenders should prioritize verifying exposure and applying patches for Contao versions 5.0.0 to 5.3.50 and 5.7.12.

Recommended defensive actions

  • Verify Contao version and apply patches if necessary
  • Restrict access to the images controller
  • Monitor for suspicious requests
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, affected versions, and fixed versions. The vulnerability allows an unauthenticated request to 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. Defenders should verify exposure and apply 5.3.1

Sources and references

Verified primary and authoritative sources

  • CVE-2026-107844 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-107844

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-107844 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-107844

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Contao: Path traversal in the images controller

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/107xxx/CVE-2026-107844.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/contao/contao/releases/tag/5.3.50

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/contao/contao/releases/tag/5.7.12

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.