CVE-2024-56145: Craft CMS Code Injection
Craft CMS · listed in the CISA catalog of actively exploited vulnerabilities since 2025-06-02.
- CVSS v4.0 (CVE record)
- 9.3
- critical
- EPSS (exploit probability, 30 days)
- 97%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2025-06-02
- US federal due date 2025-06-23
- Automatable (CISA SSVC)
- yes
- technical impact: total
What is CVE-2024-56145?
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.
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.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- craftcms cmsAffectedFixed in
- 3.0.0
- < 3.9.14
- 4.0.0-RC1
- < 4.13.2
- 5.0.0-RC1
- < 5.5.2
not stated
| Product | Affected | Fixed in |
|---|---|---|
| craftcms cms |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc…
- CISA's deadline for US federal agencies: 2025-06-23 (passed) – a useful benchmark for everyone else, too.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection')
References
Vendor
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.