Craft CMS Code Injection Vulnerability (CVE-2024-56145)
Severity: critical · Patch status: patched · Since 2025-06-02 · CVE-2024-56145
Craft CMS contains a code injection vulnerability. Users with affected versions are vulnerable to remote code execution if their php.ini configuration has registerargcargv enabled. CISA added CVE-2024-56145 to its Known Exploited Vulnerabilities catalog on Jun 2, 2025, which means attackers are exploiting it in the wild.
What 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.
- US federal agencies must remediate by Jun 23, 2025 (BOD 22-01); treat that as the outer limit.
Sources
All live incidents on Threat Watch