CVE-2024-56145
CriticalExploitedPublic exploitCraft CMS has potential RCE when PHP register_argc_argv config setting is enabled
Published Dec 18, 2024 · Updated Aug 12, 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 97% 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.
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)
97%
Higher than 99.9% of all scored CVEs
Exploited in the wild
Yes
4 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-56145 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
Aug 12, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56145.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-56145
- 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 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo