CVE-2023-40035
published high CVSS 3.1 · 7.2Craft CMS vulnerable to Remote Code Execution via validatePath bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms>= 4.0.0-RC1, < 4.4.15 · >= 3.0.0, < 3.8.15 | Affected | Not stated | GitHub_M |
Description
Craft is a CMS for creating custom digital experiences on the web and beyond. Bypassing the validatePath function can lead to potential remote code execution. This vulnerability can lead to malicious control of vulnerable systems and data exfiltrations. Although the vulnerability is exploitable only in the authenticated users, configuration with ALLOW_ADMIN_CHANGES=true, there is still a potential security threat (Remote Code Execution). This issue has been patched in version 4.4.15 and version 3.8.15.
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
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | >= 4.0.0-RC1, < 4.4.15 (affected)>= 3.0.0, < 3.8.15 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
4Provider assertions
3GitHub_M · cna
Craft CMS vulnerable to Remote Code Execution via validatePath bypass
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2463d2264216c246ba3cff4bda11614b31874591b34b521ef962a5b0e0a82f82
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record