CVE-2024-56145
Published: June 2, 2025
Official Description
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 KEV Advisory
Craft CMS Code Injection Vulnerability
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.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Risk Analysis
Craft CMS is vulnerable to a code injection flaw that can lead to remote code execution if the php.ini configuration has `register_argc_argv` enabled. The high EPSS score of 0.94049 indicates a very high likelihood of exploitation, making this a critical issue.
This vulnerability is actively exploited in the wild and is listed in CISA's KEV catalog, confirming its use by threat actors. It is remotely exploitable.
Update Craft CMS to a patched version and ensure `register_argc_argv` is disabled in php.ini to mitigate this code injection vulnerability.
Technical Analysis
CVE-2024-56145 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CISA has added CVE-2024-56145 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.
Affected Vendors & Products
Exploit & PoC Resources
All References (2)
Quick Facts
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-56145 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
- !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
- !Active exploitation confirmed — treat as P1