Skip to content
On CISA KEVCritical

CVE-2024-56145Craft CMS OS Command Injection

Craft CMS has potential RCE when PHP register_argc_argv config setting is enabled

Published Dec 18, 2024 · Updated Oct 28, 2026 · Also known as GHSA-2p6p-9rc9-62j9

Key Facts

Patch immediately
  • CVE-2024-56145 is a critical-severity vulnerability (CVSS 9.3 v4) affecting Craft CMS (Craftcms), craftcms/cms (composer), cms.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since May 27, 2025. Public exploit code is available.
  • EPSS estimates a 69% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Craft CMS 3.9.14, craftcms/cms 3.9.14, craftcms/cms 4.13.2.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v4

9.3

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

EPSS (30-day exploit likelihood)

69%

Higher than 99.5% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

78/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jun 2, 2025

166 days after publication

Federal due date

Jun 23, 2025

Overdue

Ransomware use

Not reported

Attributed actors

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

11

Reports of active use

Required action (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.

Description

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVJun 2, 2025Jun 23, 2025Not reported
Industry KEV feedMay 27, 2025Jun 23, 2025Not reported
CIRCL KEVJun 2, 2025Jun 23, 2025Not reported
ENISA EUVDJun 2, 2025n/aNot reported

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
Craft CMSCraftcmsSee advisory3.9.14
craftcms/cmscomposer>= 3.0.03.9.14
cms>= 4.0.0-RC1, < 4.13.2n/a

Patched Releases

Craft CMS

3.9.14

craftcms/cms

3.9.14, 4.13.2, 5.5.2

Timeline

  1. Publicly disclosed

    Dec 18, 2024

  2. Added to Industry KEV feed

    May 27, 2025

  3. Added to CISA KEV

    Jun 2, 2025

  4. Added to CIRCL KEV

    Jun 2, 2025

  5. Added to ENISA EUVD

    Jun 2, 2025

  6. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-94 Improper Control of Generation of Code

FAQ

Common Questions.

Is CVE-2024-56145 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.