CVE-2024-56145
Exploitation confirmed. First attested on 2025-06-02 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2024-12-18
- Fixed in5.5.2 · 4.13.2 · 3.9.14
- WeaknessCWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.0.0, < 5.5.2 | 5.5.2 | NVD |
| 5.x | ≥ 5.0.0-RC1, < 5.5.2 | 5.5.2 | OSV |
| 4.x | ≥ 4.0.0, < 4.13.2 | 4.13.2 | NVD |
| 4.x | ≥ 4.0.0-RC1, < 4.13.2 | 4.13.2 | OSV |
| 3.x | ≥ 3.0.0, < 3.9.14 | 3.9.14 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- craftcms cmsAffected
- = >= 4.0.0-RC1, < 4.13.2no fix stated
- = >= 5.0.0-RC1, < 5.5.2no fix stated
- = >= 3.0.0, < 3.9.14no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-12-19
Fix
- Update Craftcms craft cms to 5.5.2 · 4.13.2 · 3.9.14
- CISA’s 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.due 2025-06-23
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01Chocapikk/CVE-2024-56145Sachinart/CVE-2024-56145-craftcms-rcehmhlol/craft-cms-RCE-CVE-2024-56145
- Metasploit modules
- 1 moduleexploit/linux/http/craftcms_ftp_templaterank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2025-06-02
- Patch Due Date
- 2025-06-23
- Ransomware Use
- Unknown
- 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.
Sources
- CISA KEVKEV entry2025-06-02
- ENISA EUVDexploitation2025-06-022025-06-02
- GCVEexploitation2025-06-02
- CISA-ADPSSVC decisionactive2025-06-06
- CNACVSS 4.09.3known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-94known since 2026-10-23
- FIRST EPSSEPSS score97.5 %read 2026-11-17
- PoC-in-GitHubproof of concept3known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-17
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2024-12-18
Identifiers
- EUVD-2024-3545same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2p6p-9rc9-62j9same flawGitHub Advisory Database · CC-BY-4.0
- exploit/linux/http/craftcms_ftp_templateexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 4.0 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
- Published
- 2024-12-18
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-2p6p-9rc9-62j9
Frequently asked questions
What is CVE-2024-56145?
Is CVE-2024-56145 actively exploited?
What is the CVSS score for CVE-2024-56145?
Running craftcms/cms? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2p6p-9rc9-62j9
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0