CVE-2024-56145

Craft CMS: Code Injection

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.

Exploited
Yes: CISA listed it on 2 June 2025
US federal deadline
23 June 202521 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.97Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
Public exploit
1 Metasploit module
Fix
Vendor advice: github.comLinks below, from CISA's entry.

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.

CISA's required action

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 ('Code Injection')
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Timeline

  1. The CVE record was published.
  2. CISA added it to its list of exploited vulnerabilities.
  3. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Craft CMS: other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2025-32432Code InjectionCraft CMS Craft CMSPatch this weekMetasploit module; EPSS 0.990.99
CVE-2025-23209Code InjectionCraft CMS Craft CMSPatch soon0.22
CVE-2025-35939External Control of Assumed-Immutable Web ParameterCraft CMS Craft CMSPatch soon0.01

Read further