Live threats

All CVEs / Craft CMS

CVE-2024-56145Craft CMS

Remote Code Injection in Craft CMS without Authentication

Critical 9.3 KEV No auth neededHigh EPSS

Priority
78
CVSS 4.0
9.3
EPSS
69.5%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Jun 2, 2025
CISA deadline
Jun 23, 2025
Ransomware use
Unknown
Published
Dec 18, 2024
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Craft CMS versions 3.0.0 to 3.9.13, 4.0.0 to 4.13.1, and 5.0.0 to 5.5.1 contain a remote code injection vulnerability. An unauthenticated remote attacker can execute arbitrary code if the php.ini configuration has `register_argc_argv` enabled. CISA confirmed this vulnerability is being actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Craft CMS contains a code injection vulnerability. Users with affected versions are vulnerable to remote code execution if their php.ini configuration has `register_argc_argv` enabled.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 3.9.14, 4.13.2, 5.5.2

Update Craft CMS to version 3.9.14, 4.13.2, or 5.5.2 depending on your branch. If you cannot upgrade, disable `register_argc_argv` in php.ini.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Craft CMS.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was June 23, 2025.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms ≥ 5.0.0-RC1 < 5.5.2 5.5.2 composer require "craftcms/cms:^5.5.2"
Packagist craftcms/cms ≥ 4.0.0-RC1 < 4.13.2 4.13.2 composer require "craftcms/cms:^4.13.2"
Packagist craftcms/cms ≥ 3.0.0 < 3.9.14 3.9.14 composer require "craftcms/cms:^3.9.14"

Per OSV / GitHub Advisories (GHSA-2p6p-9rc9-62j9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms≥ 3.0.0 < 3.9.14
craftcmscraft_cms≥ 4.0.0 < 4.13.2
craftcmscraft_cms≥ 5.0.0 < 5.5.2

Official sources

References

Links published by the sources. Open them with care.