CVE-2023-40035: Craft CMS vulnerable to Remote Code Execution via validatePath bypass
Vulnerability summary
CVE-2023-40035 is a high (CVSS 7.2) Injection vulnerability in craftcms cms. EPSS estimates a 2.32% chance of exploitation in the next 30 days, higher than 83.3% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 23-08-2023PublishedVulnerability first disclosed.
- 02-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.32%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.32% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCms
Maturity: poc
Weaknesses
CWE · root causeAffected systems
1 vendor · 2 products
References
4 links- github.com/craftcms/cms/security/advisories/GHSA-44wr-rmwq-3phwX Refsource CONFIRMExploitVendor Advisory