Path Traversal in Craftcms Cms
CVE-2026-72783
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.002, 9.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Craftcms Cms — versions 5.0.0-RC1, 5.10.6, 4.0.0-RC1
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-7hxc-f267-h5q7) (vendor-advisory)
- VulnCheck Advisory: Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained (third-party-advisory)