CVE-2024-56145 · NVD published 18 Dec 2024
Craft CMS Craft CMS
On CISA's KEV list 166 days after disclosure; 5 public exploits; 1 attacker cited in reports.
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.
CISA required action (federal due date 23 Jun 2025): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Signals
- KEV, exploited in the wild
- yes, added 2 Jun 2025, due 23 Jun 2025
- EPSS, 30-day forecast
- 97%, 100th percentile (as of 3 Dec 2026)
- CVSS, NVD, CRITICAL
- 9.8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 18 Dec 2024 to today
- Disclosed
- First PoC+2 d
- Metasploit+9 d
- KEV+155 d
155 days from the Metasploit module to the KEV listing
Who exploits it 1 citation
- Earth Lamia
“CVE-2024-56145 : Craft CMS remote code execution vulnerability”
cited as exploiting · named nearby · trendmicro.com ↗ · 17 Oct 2026
Each actor is cited by the quoted source, linked under the quote. A citation is that source's claim, not our confirmation.
Linked 1 in our graph
Exploited by
- actorEarth Lamia
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 5 known · links only
GitHub PoCs 4Metasploit 1Exploit-DB 0
GitHub PoCs, by trust then stars4
- Sachinart/CVE-2024-56145-craftcms-rceTrust ok 1004 stars
CVE-2024-56145 SSTI to RCE - twig templates
created 22 Dec 2024
- hmhlol/craft-cms-RCE-CVE-2024-56145Trust ok 1000 stars
A POC lab environment for CVE-2024-56145 CraftCMS RCE.
created 6 Apr 2025
- Chocapikk/CVE-2024-5614548 stars
Caution 65 · 1 flag
- readme lure (readme_lure)
Unauthenticated RCE on CraftCMS when PHP `register_argc_argv` config setting is enabled
created 20 Dec 2024
- rawtips/craft_cve_2024_56145_exploit.pyNot checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Metasploit1
This module exploits a Twig template injection vulnerability in Craft CMS by abusing the --templatesPath argument. The vulnerability allows arbitrary template loading via FTP, leading to Remote Code Execution (RCE).
ruby · first seen by skopnix 18 Oct 2026
Nuclei detection templates1
This template identifies a critical Remote Code Execution (RCE) vulnerability in Craft CMS, identified as GHSA-2p6p-9rc9-62j9. The vulnerability exists due to improper handling of the `--templatesPath` query parameter, allowing attackers to execute arbitrary code by referencing malicious Twig templates.
yaml · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.