What is wrong
Craft CMS contains an unspecified remote code execution vulnerability when the PHP `register_argc_argv` configuration setting is enabled. Remote attackers can leverage this vector to execute arbitrary code on the target server.
Who is affected
This issue affects Craft CMS installations running with `register_argc_argv` enabled in `php.ini`. Specifically, versions 3.x prior to 3.9.14, 4.x prior to 4.13.2, and 5.x prior to 5.5.2 are impacted.
What to do
Update Craft CMS to version 3.9.14, 4.13.2, or 5.5.2. If unable to upgrade immediately, disable `register_argc_argv` in the `php.ini` configuration to mitigate the risk.
Original 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.
Known exploited (CISA KEV)
- Added to KEV
- 2025-06-02
- Remediation due (US federal)
- 2025-06-23
- Ransomware use
- Unknown
- 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.
Affected software
- CraftCMS * repository or package match
Details
- Published
- 2024-12-19
- Last modified
- 2025-10-22
- CVSS vector
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- CWE
- CWE-94
- EPSS (30-day exploit probability)
- 97.48% (percentile 100)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.