Known exploited · Craft CMS

CVE-2024-56145: Craft CMS Code Injection Vulnerability

What it 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.

Added June 2, 2025Due June 23, 2025CISA KEV catalog 2026.10.01

Vendor
Craft CMS
Product
Craft CMS
Added to KEV
June 2, 2025
CISA due date
June 23, 2025
Ransomware use
Unknown

What CISA requires

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Forensic triage

No

What to do now

  1. Find every instance of Craft CMS you run, including the forgotten ones, and check its version against the vendor advisory.
  2. Apply the vendor's fix or mitigation, before June 23, 2025 if you are bound by CISA's deadline, sooner if it faces the internet.
  3. Assume it was tried against you already: look for signs of exploitation from the date it was added, not from the day you patched.
  4. Until every instance is patched, block the attack at the edge: a WAF in blocking mode stops PHP and Node.js code injection payloads.

References

CVE-2024-56145 in the National Vulnerability Database

The Dome

Block it at the edge while you patch

The Dome's WAF runs the OWASP Core Rule Set in blocking mode and stops PHP and Node.js code injection payloads before they reach your application.

See the Dome

T Academy

Train the engineers who fix it

Security engineering on real hosts in the browser, every objective checked on the machine. The first two lessons of Linux 1 are free.

Start free

Source: CISA Known Exploited Vulnerabilities Catalog (public domain), catalog version 2026.10.01.