Craft CMS · Craft CMS · CWE-94 · published 2024-12-18
CVE-2024-56145Craft CMS Code Injection Vulnerability
This week Known exploited in the wild.
CVE-2024-56145 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-06-02. EPSS estimates a 97.5% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Craft CMS vulnerability: CVSS 9.3 (v4.0), attacks can be automated, a successful attack gives total control of the component. CISA’s 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. US federal agencies must remediate by 2025-06-23. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA 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. (federal due date 2025-06-23)
Patch events
Web applicationCraft CMS
Code InjectionCVE-2024-56145
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2025-06-02 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 97% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.3 (v4.0)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 | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-94: Improper Control of Generation of Code
More from this vendor: all Craft CMS vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- craftcms cms
>= 4.0.0-RC1, < 4.13.2(affected)>= 5.0.0-RC1, < 5.5.2(affected)>= 3.0.0, < 3.9.14(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.