// For flags

CVE-2024-56145

Craft CMS Code Injection Vulnerability

Severity Score

9.3
*CVSS v4

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

5
*Multiple Sources

Exploited in Wild

Yes
*KEV

Decision

Act
*SSVC
Descriptions

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 4.13.2 or 5.5.2. Users unable to upgrade should disable `register_argc_argv` to mitigate the issue.

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.

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
System
Vulnerable | Subsequent
Confidentiality
High
None
Integrity
High
None
Availability
High
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Act
Exploitation
Active
Automatable
Yes
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-12-16 CVE Reserved
  • 2024-12-18 CVE Published
  • 2024-12-22 First Exploit
  • 2025-06-02 Exploited in Wild
  • 2025-06-06 CVE Updated
  • 2025-06-16 EPSS Updated
  • 2025-06-23 KEV Due Date
CWE
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Craftcms
Search vendor "Craftcms"
Cms
Search vendor "Craftcms" for product "Cms"
>= 4.0.0 < 4.13.2
Search vendor "Craftcms" for product "Cms" and version " >= 4.0.0 < 4.13.2"
en
Affected
Craftcms
Search vendor "Craftcms"
Cms
Search vendor "Craftcms" for product "Cms"
>= 5.0.0 < 5.5.2
Search vendor "Craftcms" for product "Cms" and version " >= 5.0.0 < 5.5.2"
en
Affected
Craftcms
Search vendor "Craftcms"
Cms
Search vendor "Craftcms" for product "Cms"
>= 3.0.0 < 3.9.14
Search vendor "Craftcms" for product "Cms" and version " >= 3.0.0 < 3.9.14"
en
Affected