CVE-2024-56145RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
Updated under an hour ago ()
Does this affect you?
It affects craftcms cms and 1 other product. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Jun 2, 2025; federal agencies had to remediate by Jun 23, 2025. Treat that date as your deadline.
Do this next
Free account, 1 product
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
- 9.3 CRITICAL (v4.0, CNA)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
- Weakness (CWE)
- CWE-94
- Known exploited
- Added to CISA KEV Jun 2, 2025; federal remediation due Jun 23, 2025Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 97.41% (percentile 100)
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
craftcms cms craftcms:cms (from the name) | from 4.0.0-RC1, < 4.13.2; from 5.0.0-RC1, < 5.5.2; from 3.0.0, < 3.9.14 | CNA record |
craftcms craft_cms craftcms:craft_cms | from 3.0.0 before 3.9.14; from 4.0.0 before 4.13.2; from 5.0.0 before 5.5.2 | NVD |
References
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9x-refsource-confirm, vendor-advisory
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3x-refsource-misc, patch
- https://github.com/Chocapikk/CVE-2024-56145exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.