CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
KEVCRITICAL 9.3EPSS 97.4%
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.
- Affected
- craftcms · cms
- CVSS v4.0 GITHUB
- 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 - CVSS v4.0 GitHub
- 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:A - CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 GitHub
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H - EPSS
- 97.41% chance of exploitation in the next 30 days, 100th percentile
- CISA KEV
- added 2025-06-02
- Nuclei
- critical · CWE-94
- Published
- 2024-12-18
- Updated
- 2025-10-21
Proof-of-concept exploits (3)
- Chocapikk/CVE-2024-5614548★ · 2024-12-23
- Sachinart/CVE-2024-56145-craftcms-rce4★ · 2024-12-22
- hmhlol/craft-cms-RCE-CVE-2024-561450★ · 2025-04-06
Nuclei templates (1)
Metasploit modules (1)
Vulhub environments (1)
Security advisories
- craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9
- advisories/GHSA-2p6p-9rc9-62j9
- craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3