Known exploited vulnerability
CVE-2024-56145
Craft CMS Code Injection Vulnerability
What happened
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.
Analyst notes
https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 ; https://nvd.nist.gov/vuln/detail/CVE-2024-56145
Open-source advisories
Public proof-of-concept repositories
No matching public repository was found in the scheduled GitHub index. The index refreshes every 30 minutes; a result would be an unverified repository mention, not a safety assessment.
More from Craft CMS
- CVE-2025-32432 Craft CMS Code Injection Vulnerability
- CVE-2025-35939 Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
- CVE-2025-23209 Craft CMS Code Injection Vulnerability