{"id":"CVE-2026-107844","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-107844","generatedAt":"2026-10-28T01:02:13.725Z","title":"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.","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.","published":"2026-10-09T20:17:10.000Z","lastModified":"2026-10-16T17:17:04.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"cwe":["CWE-22"],"affected":[],"epss":{"score":0.00312,"percentile":0.23888,"date":"2026-10-26","history":[{"date":"2026-10-10","score":0.00312,"percentile":0.22184}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.31%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-09T20:17:10.000Z","detail":{"score":"5.3","severity":"MEDIUM","publishedAt":"2026-10-09T20:17:10.313Z"},"summary":"New CVE, medium severity (CVSS 5.3)."}],"references":[{"url":"https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd","source":"security-advisories@github.com"},{"url":"https://github.com/contao/contao/releases/tag/5.3.50","source":"security-advisories@github.com"},{"url":"https://github.com/contao/contao/releases/tag/5.7.12","source":"security-advisories@github.com"},{"url":"https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107844","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}