Known exploited vulnerability
CVE-2024-56145
The short answer
CVE-2024-56145 affects craftcms cms and is rated critical (CVSS 9.3). CISA added it to the Known Exploited Vulnerabilities catalog on 2025-06-02: attackers are using it, so patch it first. Fixed versions are published for craftcms/cms (5.5.2, 4.13.2, 3.9.14).
What it is
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.
Weakness: CWE-94.
Severity
9.3 critical
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
Exploited (CISA KEV)
Yes, since Jun 2, 2025
Federal due date Jun 23, 2025
EPSS, next 30 days
97%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says 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.
Affected packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| craftcms/cms | Packagist | 5.5.2, 4.13.2, 3.9.14 | GHSA-2p6p-9rc9-62j9 |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
cms. NVD's record lists the exact affected versions.
References
Questions
Is CVE-2024-56145 being exploited?
Yes. CISA added CVE-2024-56145 to its Known Exploited Vulnerabilities catalog on 2025-06-02, with a federal remediation due date of 2025-06-23.
How do I fix CVE-2024-56145?
Upgrade to a fixed version: craftcms/cms (Packagist) 5.5.2 or 4.13.2 or 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.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Craft CMS exploited vulnerabilities
Everything CISA lists as exploited for Craft CMS.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.