Craft CMS Code Injection Vulnerability
craftcms — cms
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.
9.8
97.4%
Vector breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- Dec 18, 2024
- Modified
- Jun 17, 2026
- Added to KEV
- Jun 2, 2025
- Federal patch due
- Jun 23, 2025
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 classification
Affected packages
Proof-of-concept & exploitation references
3 foundWeaponization
Public repositories whose name or description references CVE-2024-56145, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
- Chocapikk/CVE-2024-56145★ 48
Unauthenticated RCE on CraftCMS when PHP `register_argc_argv` config setting is enabled
updated Aug 17, 2026
- Sachinart/CVE-2024-56145-craftcms-rce★ 4
CVE-2024-56145 SSTI to RCE - twig templates
updated Aug 10, 2026
- hmhlol/craft-cms-RCE-CVE-2024-56145★ 0
A POC lab environment for CVE-2024-56145 CraftCMS RCE.
updated Apr 6, 2025
References
How this class of flaw gets exploited
Frequently asked questions
What is CVE-2024-56145?
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.
How severe is CVE-2024-56145?
CVE-2024-56145 has a CVSS base score of 9.8 out of 10 (CVSS 3.1).
Is CVE-2024-56145 actively exploited in the wild?
Yes. CVE-2024-56145 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added Jun 2, 2025, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2024-56145?
97.4% - meaning FIRST.org's EPSS model estimates a 97.4% probability this vulnerability will be exploited in the wild within 30 days (100% percentile among all scored CVEs).
Is there exploit tooling available for CVE-2024-56145?
Yes - a public Nuclei template referencing CVE-2024-56145 exist in public repositories we checked. We also found 3 public GitHub repositories referencing this CVE.
What type of vulnerability is CVE-2024-56145?
CVE-2024-56145 is classified under CWE-94 (CWE-94: Improper Control of Generation of Code ('Code Injection')).
Cross-checked against
Impactr finds and proves whether CVE-2024-56145 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist