CVE-2024-56145
criticalpriority · act · 90OT risk · criticalKEV · exploitedEPSS 0.974 · 100 %ileexploit · weaponizedEURUUSadded 2025-06-02remediate by 2025-06-23
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.
EPSS · scored 2026-10-27
Craft CMS Code Injection Vulnerability
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.3–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
ATT&CK techniques
ATT&CK techniques this enables or maps to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- Sachinart/CVE-2024-56145-craftcms-rceCVE-2024-56145 SSTI to RCE - twig templates PoC · poc_in_github
affected products (12)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-2p6p-9rc9-62j9Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled2024-12-18ghsa · osvUS
### Impact You are affected if your php.ini configuration has `register_argc_argv` enabled. ### Patches Update to 3.9.14, 4.13.2, or 5.5.2. ### Workarounds If you can't upgrade yet, and `register_argc_argv` is enabled, you can disable it to mitigate the issue.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3cnnvd
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9cnnvd
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3enisa_euvd
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9enisa_euvd
- https://github.com/Chocapikk/CVE-2024-56145Exploitnvd
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3Patchnvd
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9Vendor Advisorynvd
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145US Government Resourcenvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan