Back to CVE records
Critical 9.3Known exploited (CISA KEV)Published Dec 18, 2024

CVE-2024-56145RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

Updated under an hour ago ()

Does this affect you?

It affects craftcms cms and 1 other product. Add what you run to find out whether that includes you.

CISA lists it as known exploited since Jun 2, 2025; federal agencies had to remediate by Jun 23, 2025. Treat that date as your deadline.

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.

CVSS
9.3 CRITICAL (v4.0, CNA)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
Weakness (CWE)
CWE-94
Known exploited
Added to CISA KEV Jun 2, 2025; federal remediation due Jun 23, 2025Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
EPSS (exploitation in the next 30 days)
97.41% (percentile 100)
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Oct 21, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
craftcms cms
craftcms:cms (from the name)
from 4.0.0-RC1, < 4.13.2; from 5.0.0-RC1, < 5.5.2; from 3.0.0, < 3.9.14
CNA record
craftcms craft_cms
craftcms:craft_cms
from 3.0.0 before 3.9.14; from 4.0.0 before 4.13.2; from 5.0.0 before 5.5.2
NVD

References

  • x-refsource-confirm, vendor-advisory
  • x-refsource-misc, patch
  • exploit
  • us-government-resource

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.