{"id":"CVE-2026-72783","published":"2026-08-11T12:17:17Z","modified":"2026-10-08T15:24:28Z","title":"Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 contain a theoretical path traversal weakness in the ensurePathIsContained function of the Local file system class. The order of operations validates the path before normalization, so normalization could invalidate prior validation assumptions (a desanitization-style issue) and potentially resolve to files outside the intended volume directory. The vendor notes the issue is not directly exploitable and no exploitable scenario has been discovered; the fix is recommended for hardening.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.09628,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-rc1-before-path-traversal-via-ensurepathiscontained","tags":["third-party-advisory"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":1.93},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0-RC1, < 5.10.6"]},{"vendor":"craftcms","product":"cms","versions":[">= 4.0.0-RC1, < 4.18.2"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["5.10.6"]},{"vendor":"craftcms","product":"cms","versions":["4.18.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T19:51:45.646583Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.0.0-RC1, <5.10.6",">=4.0.0-RC1, <4.18.2"],"patched":["5.10.6","4.18.2"],"from":["GHSA-7hxc-f267-h5q7"],"provenance":"source"}],"summary":{"text":"Craft CMS versions from 5.0.0-RC1 before 5.10.6, and from 4.0.0-RC1 before 4.18.2, contain a path traversal weakness in the ensurePathIsContained function of the Local file system class, where path validation runs before normalization so the normalized path could resolve to files outside the intended volume directory. An attacker would need no privileges and no user interaction, but according to the vendor the issue is not directly exploitable and no exploitable scenario has been identified, so it is a theoretical hardening concern rather than a confirmed attack path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:15Z"},"euvd":{"id":"EUVD-2026-56107","exploited":false,"provenance":"source"}}