CVE-2024-56145
CRITICAL 9.3CVSS 4.0known exploitedCraft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled
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.
- Published
- 18 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-2p6p-9rc9-62j9
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-2p6p-9rc9-62j9JSON
In CISA's Known Exploited Vulnerabilities catalog since 2 Jun 2025; US federal agencies must fix it by 23 Jun 2025.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.9.14 | 3.9.14 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.13.2 | 4.13.2 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.5.2 | 5.5.2 |
| OSV | Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.5.2 | 5.5.2 |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.13.2 | 4.13.2 |
| OSV | Packagist | craftcms/cms | >= 3.0.0, < 3.9.14 | 3.9.14 |
References
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3 · Patch, WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 · Vendor Advisory, WEB
- https://github.com/Chocapikk/CVE-2024-56145 · Exploit, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-56145 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 18 Dec 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Dec 2024)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 2 Jun 2025)
- 2 Jun 2025 00:00 UTC · Listed as known exploited