Skip to main content
All vulnerabilities
CVE-2024-56145

Craft CMS Code Injection Vulnerability

Craft CMS — Craft CMS

EPSS (30-day exploitation probability)
97.5% · 99.9th percentile · 19 November 2026
Added to KEV catalog
2 June 2025
Federal remediation due date
23 June 2025
Weakness classification (CWE)
CWE-94

Is CVE-2024-56145 actively exploited?

Yes. CISA added CVE-2024-56145 to its Known Exploited Vulnerabilities catalog on 2 June 2025, which means there is evidence it has been exploited in the wild. FIRST's EPSS model estimates a 97.5% probability of exploitation activity in the next 30 days, placing it in the 99.9th percentile of all scored CVEs.

How do I fix CVE-2024-56145?

CISA's required action for CVE-2024-56145 is: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. US federal agencies must remediate it by 23 June 2025; treat that as an outside deadline, not a target.

CISA Description

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.

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.

Notes

https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 ; https://nvd.nist.gov/vuln/detail/CVE-2024-56145

Confirm Your Exposure

Is this vulnerability present in your environment?

CRS delivers independent VAPT assessments that identify exactly which known-exploited vulnerabilities exist in your network, applications, and infrastructure.

Explore VAPT Services