CVE-2023-40035Craftcms Craft Cms
High 7.2
Follow: this CVE · Craftcms · Craftcms Craft Cms We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 82
- Auth required
- Yes
- Published
- Aug 23, 2023
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Craft Cms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | craftcms/cms |
≥ 4.0.0-RC1 < 4.4.15 |
4.4.15 |
composer require "craftcms/cms:^4.4.15" |
| Packagist | craftcms/cms |
≥ 3.0.0 < 3.8.15 |
3.8.15 |
composer require "craftcms/cms:^3.8.15" |
Per OSV / GitHub Advisories (GHSA-44wr-rmwq-3phw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| craftcms | craft_cms | ≥ 3.0.0 < 3.8.15 |
| craftcms | craft_cms | ≥ 4.0.0 < 4.4.15 |
| craftcms | craft_cms | 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Vendor Advisory