CVE-2024-56145

published 18 Dec 2024 · updated 21 Oct 2025

RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

10.0CriticalCVSS 9.3EPSS 97%CISA KEV · due 23 Jun 20252 public exploits

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

VendorProductVersionsFixed
Craft CMSCraft 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

kev

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

CVE-2024-56145 severity on Zeptric[![CVE-2024-56145](https://zeptric.io/badge/cve/CVE-2024-56145.svg)](https://zeptric.io/cve/CVE-2024-56145)