CVE-2024-56145

Craft CMS Code Injection Vulnerability

Actively exploited · CISA KEV
9.3 CriticalCVSS v4.0
97.3%EPSS (30-day exploit probability)
2025-06-02added to KEV
2025-06-23CISA federal due date

Summary

Craft CMS Craft CMS. 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.

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.

CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-94
Published
2024-12-18 (last modified 2026-06-17)

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.

  1. Find every instance of Craft CMS Craft CMS in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2024-56145 being exploited?

Yes. CISA added CVE-2024-56145 to its Known Exploited Vulnerabilities catalog on 2025-06-02, which means there is reliable evidence of active exploitation.

How do I fix CVE-2024-56145?

CISA 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.

What is the EPSS score for CVE-2024-56145?

The EPSS score is 97.29%, meaning an estimated 97.29% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Craft CMS vulnerabilities

CVE-2025-32432Craft CMS Code Injection Vulnerability2026-03-20
CVE-2025-35939Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability2025-06-02
CVE-2025-23209Craft CMS Code Injection Vulnerability2025-02-20

All Craft CMS exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.