As of , CVE-2024-56145 in Craft CMS is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2024-56145
Craft CMS: Code Injection. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Metasploit module
- EPSS 0.97
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.
Patch infofixed versions and vendor advice
What to install
Affects craftcms cms from 3.0.0 before 3.9.14, from 4.0.0-RC1 before 4.13.2 and from 5.0.0-RC1 before 5.5.2.
Fixed in 3.9.14, 4.13.2 and 5.5.2.
Vendor advice
Vendor advice: github.com, from CISA's entry.
- EPSS score
- 0.97Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 2 June 2025
- US federal deadline
- 23 June 2025 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- 0.93 on 2 June 2025 EPSS on the day CISA listed it.
- Public exploit
- 1 Metasploit module
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
craftcms/cmsPackagist
Affects craftcms/cms from 5.0.0-RC1 before 5.5.2, from 4.0.0-RC1 before 4.13.2 and from 3.0.0 before 3.9.14.
Fixed in 5.5.2, 4.13.2 and 3.9.14.
Advisory GHSA-2p6p-9rc9-62j9
Since listing
EPSS since listing
EPSS for CVE-2024-56145 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.93 | |
| 0.94 | |
| 0.97 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Read further: CISA's catalog
The flaw
What the flaw is
Craft CMS contains a code injection vulnerability. Users with affected versions are vulnerable to remote code execution if their php.ini configuration has `register_argc_argv` enabled.
CISA's 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.
The CVE record's description, from GitHub_M
- CVE published
- 18 December 2024
- Assigned by
- GitHub_M
- CVSS
- 9.3 Critical (CVSS 4.0, from the CNA)
- CWE-94
- Improper Control of Generation of Code
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
Craft CMS: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2025-32432Code Injection | Craft CMS | Patch this weekMetasploit | Due | 0.99 | |
| CVE-2025-23209Code Injection | Craft CMS | Patch soon | Due | 0.22 | |
| CVE-2025-35939External Control of Assumed-Immutable Web Parameter | Craft CMS | Patch soon | Due | 0.01 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0