Loading SecureCyberVM…
SecureCyberVM
CVE Lookup Daily Threat Briefing Exploited CVEs Ransomware Zero-day
SecureCyberVM
Get the Patch Brief
CVE record Critical Actively exploited

CVE-2024-56145

RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

Highest CVSS9.8
EPSS (30-day exploit probability)69.48%Percentile 99.5
CISA KEVExploitedAdded 2025-06-02
CISA SSVC exploitationActiveAutomatable: yes
Patch immediately

Attackers are exploiting CVE-2024-56145 in real attacks (CISA KEV). If you run an affected version, patch or mitigate now and check for signs of compromise.

Watch this CVE

Get an email when CVE-2024-56145 changes: new CVSS scores, exploitation (CISA KEV), fixes or affected versions. Free, one-click stop.

All craftcms CVEs

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.

CVSS scores

VersionScored byScoreVector
CVSS 4.0GitHub_M (CNA)9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 4.0github.com (CNA)9.3 CriticalCVSS: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
CVSS 3.1NVD (NIST)9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Timeline

  1. CVE published
  2. Added to CISA KEV (exploited in the wild)
  3. CISA remediation deadline (passed)
  4. Last updated by the CVE authority
  5. First tracked by SecureCyberVM

Exploit likelihood (EPSS)

69.48%chance of exploitation in the next 30 days
Higher than 100% of all published CVEs (FIRST EPSS percentile).Trend over 3 days (2026-11-27 to 2026-12-03).

Exploitation

  • Listed in the CISA Known Exploited Vulnerabilities catalog on 2025-06-02.
  • U.S. federal remediation due date: 2025-06-23.

Am I affected?

  1. Do you run craftcms cms? Check the exact versions in the affected products list.
  2. Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
  3. It is actively exploited: assume attackers are scanning for it and look for indicators of compromise on exposed systems.
  4. Apply the vendor's update as soon as it is available; restrict access to the service until then.

Affected products

Mitigations

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

Weakness

CWE-94: Improper Control of Generation of Code ('Code Injection')

Other craftcms vulnerabilities

  • CVE-2025-32432 Exploited Craft CMS Allows Remote Code Execution
  • CVE-2025-23209 Exploited Potential RCE with a compromised security key in craft/cms

All craftcms vulnerabilities →

Frequently asked questions

Is CVE-2024-56145 being actively exploited?

Yes. CISA added CVE-2024-56145 to its Known Exploited Vulnerabilities catalog on 2025-06-02, which means attackers are using it in real attacks. US federal agencies must fix it by 2025-06-23.

How severe is CVE-2024-56145?

CVE-2024-56145 has a highest CVSS score of 9.8 (Critical) under CVSS 3.1. Severity alone is not priority: check exploitation status and whether you run an affected version.

How do I fix CVE-2024-56145?

Update Craft CMS to 3.9.14, 4.13.2, 5.5.2 or later. If you cannot update yet, set register_argc_argv = Off in php.ini.

Which products are affected by CVE-2024-56145?

Craft CMS 3.0.0 before 3.9.14, 4.0.0-RC1 before 4.13.2 and 5.0.0-RC1 before 5.5.2, when register_argc_argv is enabled in php.ini.. See the affected products list on this page for exact versions.

References

Change log

    • First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.

Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.

SecureCyberVM

Install SecureCyberVM

Get the Daily Threat Briefing and exploited-CVE alerts one tap away, full screen, like an app.