CVE-2024-56145Craft CMS OS Command Injection
Craft CMS has potential RCE when PHP register_argc_argv config setting is enabled
Published Dec 18, 2024 · Updated Oct 28, 2026 · Also known as GHSA-2p6p-9rc9-62j9
Key Facts
Patch immediately- CVE-2024-56145 is a critical-severity vulnerability (CVSS 9.3 v4) affecting Craft CMS (Craftcms), craftcms/cms (composer), cms.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since May 27, 2025. Public exploit code is available.
- EPSS estimates a 69% probability of exploitation in the next 30 days.
- Fixed versions are available, including Craft CMS 3.9.14, craftcms/cms 3.9.14, craftcms/cms 4.13.2.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v4
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
69%
Higher than 99.5% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
78/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Jun 2, 2025
166 days after publication
Federal due date
Jun 23, 2025
Overdue
Ransomware use
Not reported
Attributed actors
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
11
Reports of active use
Required action (CISA): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Advisories And Exploit References
Description
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has register_argc_argv enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 3.9.14, 4.13.2, or 5.5.2. Users unable to upgrade should disable register_argc_argv to mitigate the issue.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Jun 2, 2025 | Jun 23, 2025 | Not reported |
| Industry KEV feed | May 27, 2025 | Jun 23, 2025 | Not reported |
| CIRCL KEV | Jun 2, 2025 | Jun 23, 2025 | Not reported |
| ENISA EUVD | Jun 2, 2025 | n/a | Not reported |
Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Craft CMSCraftcms | See advisory | 3.9.14 |
| craftcms/cmscomposer | >= 3.0.0 | 3.9.14 |
| cms | >= 4.0.0-RC1, < 4.13.2 | n/a |
Patched Releases
Craft CMS
3.9.14
craftcms/cms
3.9.14, 4.13.2, 5.5.2
Timeline
Publicly disclosed
Dec 18, 2024
Added to Industry KEV feed
May 27, 2025
Added to CISA KEV
Jun 2, 2025
Added to CIRCL KEV
Jun 2, 2025
Added to ENISA EUVD
Jun 2, 2025
Last updated
Oct 28, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-56145
- advisoryGHSA advisory
- advisoryhttps://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9
- patchhttps://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3
FAQ
Common Questions.
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
Affected: Craft CMS (Craftcms); craftcms/cms (composer) versions >= 3.0.0; cms versions >= 4.0.0-RC1, < 4.13.2. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since May 27, 2025.
Yes. It was added on Jun 2, 2025 with a federal remediation due date of Jun 23, 2025.
Public exploit code is available.
Fixed versions are available, including Craft CMS 3.9.14, craftcms/cms 3.9.14, craftcms/cms 4.13.2.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-56145 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo