CVE-2024-56145
published critical CVSS 4.0 · 9.3RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms>= 4.0.0-RC1, < 4.13.2 · >= 5.0.0-RC1, < 5.5.2 · >= 3.0.0, < 3.9.14 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | >= 4.0.0-RC1, < 4.13.2 (affected)>= 5.0.0-RC1, < 5.5.2 (affected)>= 3.0.0, < 3.9.14 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
2GitHub_M · cna
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 62755497829978252a09bcde3c92e8b7238f8ae9847fbde78ac8e197670d7364
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record