RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
Exploited in the wild, in CISA KEV since 2 Jun 2025 (due 23 Jun 2025), with 2 public exploits. No fixed version is recorded.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Craft CMS | Craft CMS | ||
| craftcms | >=3.0.0 <3.9.14, >=4.0.0-RC1 <4.13.2, >=5.0.0-RC1 <5.5.2 |
Exploit evidence
2 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Craft CMS, strongest first
Embed
A live severity badge for an advisory, README or ticket