Skip to content
StratQuad

Threats

Craft CMS code injection with register_argc_argv enabled

CVE-2024-56145Known exploitedCritical

Craft CMS contains a code injection vulnerability that allows remote code execution when the PHP configuration setting `register_argc_argv` is enabled. An attacker can exploit this to execute arbitrary code on the server. The vulnerability only affects systems where `register_argc_argv` is set to on in the php.ini file.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 4.0
9.3
CRITICAL
EPSS score
0.97
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
2 Jun 2025
CISA due date
23 Jun 2025
Applies to US federal agencies

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

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

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

Weakness: CWE-94 (opens in a new tab)

Affected versions

  • craftcms craft cms: from 3.0.0, before 3.9.14
  • craftcms craft cms: from 4.0.0, before 4.13.2
  • craftcms craft cms: from 5.0.0, before 5.5.2