CVE-2026-72783
Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained
- State
- Published
- Severity
- 6.9 Medium
- Published
- Aug 11, 2026
- Updated
- Oct 8, 2026
- Reserved
- Aug 10, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
cmscraftcms |
|
cmscraftcms |
|
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 ensurePathIsContainedthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.