CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
- Critical 9.3
- Exploited: added to CISA KEV 2 Jun 2025
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.
Key facts
- Published
- 18 Dec 2024
- Last changed
- 21 Oct 2025
- Assigned by
- GitHub_M
- KEV added
- 2 Jun 2025
- KEV fix due
- 23 Jun 2025
- EPSS
- 97.482% likely to be exploited in the next 30 days, higher than 99.901% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: yes; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 9.3CVSS 4.0, Criticalfrom the CNA (GitHub_M)
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
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.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms |
|
Timeline
- 18 Dec 2024 Published
- 2 Jun 2025 CVE-2024-56145 added to CISA KEV
- 2 Jun 2025 Added to the CISA KEV catalogue