CVE-2024-56145
Craft CMS Code Injection Vulnerability
Craft CMS Craft CMS
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.
Exploitation status
CISA Known Exploited Vulnerabilities
Listed by CISA on 2 June 2025. US federal agencies were required to remediate it by 23 June 2025.
EPSS — exploitation probability
FIRST puts the probability of exploitation activity in the next 30 days at 97.4%, which is higher than 99.9% of all scored vulnerabilities. EPSS is a forecast of activity, not a measure of severity, and it is rescored daily.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Frequently asked questions
Is CVE-2024-56145 being exploited by ransomware groups?
No ransomware group in this database is currently recorded as exploiting CVE-2024-56145.
What does CVE-2024-56145 affect?
CVE-2024-56145 affects Craft CMS Craft CMS. 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.
How severe is CVE-2024-56145?
CVE-2024-56145 is rated CRITICAL with a CVSS base score of 9.8. EPSS puts the probability of exploitation in the next 30 days at 97.4%, higher than 99.9% of all scored vulnerabilities. It is listed in the CISA Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 23 June 2025.
How should organisations respond to CVE-2024-56145?
Apply the vendor patch for Craft CMS Craft CMS as the first priority, and treat any internet-facing instance as the most urgent. Because this vulnerability is associated with ransomware activity, also review whether the affected systems were reachable before patching, rather than assuming that patching alone closes the incident.