{"api_version":"1","generated_at":"2026-10-09T21:32:40+00:00","cve":"CVE-2026-107844","urls":{"html":"https://cve.report/CVE-2026-107844","api":"https://cve.report/api/cve/CVE-2026-107844.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107844","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107844"},"summary":{"title":"Contao: Path traversal in the images controller","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-09 20:17:10","updated_at":"2026-10-09 20:17:10"},"problem_types":["CWE-22","CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h","name":"https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/contao/contao/releases/tag/5.7.12","name":"https://github.com/contao/contao/releases/tag/5.7.12","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd","name":"https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/contao/contao/releases/tag/5.3.50","name":"https://github.com/contao/contao/releases/tag/5.3.50","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107844","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107844","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"contao","product":"contao","version":"affected >= 5.0.0, < 5.3.50","platforms":[]},{"source":"CNA","vendor":"contao","product":"contao","version":"affected >= 5.4.0-RC1, < 5.7.12","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"contao","vendor":"contao","versions":[{"status":"affected","version":">= 5.0.0, < 5.3.50"},{"status":"affected","version":">= 5.4.0-RC1, < 5.7.12"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-09T19:24:02.625Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/contao/contao/security/advisories/GHSA-mrvp-7wmx-5m4h"},{"name":"https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd","tags":["x_refsource_MISC"],"url":"https://github.com/contao/contao/commit/867c055122fdf12220f973f862082037b695b9bd"},{"name":"https://github.com/contao/contao/releases/tag/5.3.50","tags":["x_refsource_MISC"],"url":"https://github.com/contao/contao/releases/tag/5.3.50"},{"name":"https://github.com/contao/contao/releases/tag/5.7.12","tags":["x_refsource_MISC"],"url":"https://github.com/contao/contao/releases/tag/5.7.12"}],"source":{"advisory":"GHSA-mrvp-7wmx-5m4h","discovery":"UNKNOWN"},"title":"Contao: Path traversal in the images controller"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-107844","datePublished":"2026-10-09T19:24:02.625Z","dateReserved":"2026-10-08T22:34:49.291Z","dateUpdated":"2026-10-09T19:24:02.625Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-09 20:17:10","lastModifiedDate":"2026-10-09 20:17:10","problem_types":["CWE-22","CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"107844","Ordinal":"1","Title":"Contao: Path traversal in the images controller","CVE":"CVE-2026-107844","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"107844","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Contao: Path traversal in the images controller"}]}}}