Skip to content
skopnix
Dossier · Vulnerability

Actively exploited · CISA KEV · NVD published 2024-12-18

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.

  1. First PoC
  2. 488 days →Metasploit
  3. 178 days →First cited attacker

Signals

Exploited in the wild
Yesadded 2025-06-02 · due 2025-06-23. An observation, not a forecast.
EPSS · 30-day forecast
97%Chance of exploitation in the next 30 days, 100th percentile of all CVEs. A forecast; KEV outranks it.
CVSS · NVD · CRITICAL
9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Internet exposure
not stated by sourcesNo exposure census on this CVE's dispatches.

Exploits

5 known · links only

GitHub PoCs · by trust, then stars3

  1. Unauthenticated RCE on CraftCMS when PHP `register_argc_argv` config setting is enabled

    ★ 48 · created 2024-12-20

  2. CVE-2024-56145 SSTI to RCE - twig templates

    ★ 4 · created 2024-12-22

  3. A POC lab environment for CVE-2024-56145 CraftCMS RCE.

    ★ 0 · created 2025-04-06

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

  1. 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 · seen 2026-10-18

Nuclei1

  1. 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 · seen 2026-10-18

On the wire

0 dispatches

No dispatch on our wire has named this CVE yet.

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Check your stack

Paste what you run: the CVEs exploited in the wild against it, and who is cited as exploiting them, with the report.

Stack checkNo key. No signup.