CVE-2023-40035
HIGH 7.2CVSS 3.1Craft CMS vulnerable to Remote Code Execution via validatePath bypass
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.
- Published
- 23 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-44wr-rmwq-3phw
- Sources
- NVDJSONOSV GHSA-44wr-rmwq-3phwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.8.15 | 3.8.15 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.4.15 | 4.4.15 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.4.15 | 4.4.15 |
| OSV | Packagist | craftcms/cms | >= 3.0.0, < 3.8.15 | 3.8.15 |
References
- https://github.com/craftcms/cms/commit/0bd33861abdc60c93209cff03eeee54504d3d3b5 · Patch, WEB
- https://github.com/craftcms/cms/releases/tag/3.8.15 · Release Notes, WEB
- https://github.com/craftcms/cms/releases/tag/4.4.15 · Release Notes, WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-44wr-rmwq-3phw · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40035 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Aug 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Aug 2023)