CVE-2026-72783
MEDIUM 6.9CVSS 4.0Craft CMS: Incorrect path validation could potentially lead to path traversal
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.
- Published
- 11 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-7hxc-f267-h5q7
- Sources
- NVDJSONOSV GHSA-7hxc-f267-h5q7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.10.6 | 5.10.6 |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.18.2 | 4.18.2 |
References
- https://github.com/craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7 · WEB
- https://www.vulncheck.com/advisories/craft-cms-rc1-before-path-traversal-via-ensurepathiscontained · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-72783 · ADVISORY
- https://github.com/craftcms/cms/commit/a8425b6c707335e42c35ee2aaf03af50ea4a494d · WEB
- https://github.com/craftcms/cms/commit/bd6b9c175b4892e042e8a03760c39b0e94c4c7d6 · WEB
- https://github.com/craftcms/cms · PACKAGE
- https://github.com/craftcms/cms/releases/tag/4.18.2 · WEB
- https://github.com/craftcms/cms/releases/tag/5.10.6 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Aug 2026)