Skip to content
Vulnerability Intelligence

CVE-2024-56145

CriticalExploitedPublic exploit

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

Published Dec 18, 2024 · Updated Aug 12, 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 97% 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.

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)

97%

Higher than 99.9% of all scored CVEs

Exploited in the wild

Yes

4 catalog listings

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2024-56145 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

    Aug 12, 2026

Weakness Type

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

References

13 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-56145 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo