CVE-2026-72783
published medium CVSS 4.0 · 6.9Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms5.0.0-RC1 to < 5.10.6 (affected · semver) · 5.10.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| craftcms | — | cms4.0.0-RC1 to < 4.18.2 (affected · semver) · 4.18.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.2 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.0.0-RC1 to < 5.10.6 (affected · semver)5.10.6 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| craftcms | cms | 4.0.0-RC1 to < 4.18.2 (affected · semver)4.18.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- GitHub Security Advisory (GHSA-7hxc-f267-h5q7) https://github.com/craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7
- VulnCheck Advisory: Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained https://www.vulncheck.com/advisories/craft-cms-rc1-before-path-traversal-via-ensurepathiscontained
Provider assertions
2VulnCheck · cna
Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fd3cf5ae96d83817a8929182cdbacc0b62142f04e98ad501b6ebe82ca9125329
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record