Skip to main content
ExploitedIn CISA KEVFix available

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?

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 UTC
  1. 2024-12-1821:15CVE publishedNVD
  2. 2025-06-02Added to the CISA KEV catalogCISA KEV
  3. 2025-06-02Listed as exploited by GCVEGCVE
  4. 2025-06-02Exploitation first reportedCISA KEV
  5. 2025-06-0603:55SSVC exploitation set to activeCISA-ADP

Versions per branch

NVD · OSV
Craftcms craft cms
BranchAffectedFixed in
5.x≥ 5.0.0, < 5.5.25.5.2
5.x≥ 5.0.0-RC1, < 5.5.25.5.2
4.x≥ 4.0.0, < 4.13.24.13.2
4.x≥ 4.0.0-RC1, < 4.13.24.13.2
3.x≥ 3.0.0, < 3.9.143.9.14

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 cms
    Affected
    • = >= 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

  1. Update Craftcms craft cms to 5.5.2 · 4.13.2 · 3.9.14
  2. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
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

Identifiers

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?

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.

Is CVE-2024-56145 actively exploited?

Yes. CVE-2024-56145 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2025-06-23.

What is the CVSS score for CVE-2024-56145?

CVE-2024-56145 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record