CVE-2024-56145
CONFIRMED EXPLOITEDCraft CMS Code Injection Vulnerability
Is Craft CMS Craft CMS affected by CVE-2024-56145?
Craft CMS Craft CMS is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2024-56145, added on 2025-06-02. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (3 vulnerable CPE entries): craftcms craft_cms.
Published CPE version bounds mark releases below 5.5.2 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2025-06-23.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2025-32432Same productCraft CMS Craft CMS
Craft CMS Code Injection Vulnerability
- CVE-2025-35939Same productCraft CMS Craft CMS
Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
- CVE-2025-23209Same productCraft CMS Craft CMS
Craft CMS Code Injection Vulnerability
- CVE-2026-90817Shared weaknessVanderbilt University Research Electronic Data Capture (REDCap)
Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection Vulnerability
- CVE-2023-39780Neighboring entryASUS RT-AX55 Routers
ASUS RT-AX55 Routers OS Command Injection Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2025-06-02. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Craft CMS has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Craft CMS Craft CMS): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Craft CMS Craft CMS and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3Patch
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9Vendor Advisory
- https://github.com/Chocapikk/CVE-2024-56145Exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine