CVE-2024-56145

CRITICALNVD 9.89.8
EchelonGraph scoreHIGH confidence

Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2025-06-02), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.

Triggered by: CISA KEV (actively exploited)
Sources: cisa_kev, epss, nvd
Trending — 3 sources updated this weekExploited in the wild
9.8
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV)
CISA-KEV: ExploitedEPSS: 97%CVSS: 9.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
9.8
EG Score
9.8(high)
EPSS
99.9%
KEV
⚠ Exploited

Published

December 18, 2024

Last Modified

October 24, 2025

Advisory Details (4)

Auto-updated May 31, 2026
⚠️ Active exploitation confirmed. Patch available. Sources: github_commit, github, cisa.
cisa Patch Available🔴 Active Exploitation

Known Exploited Vulnerabilities Catalog | CISA

Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.

https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145
generic

GitHub - Chocapikk/CVE-2024-56145: Unauthenticated RCE on CraftCMS when PHP `register_argc_argv` config setting is enabled · GitHub

https://github.com/Chocapikk/CVE-2024-56145
github Patch Available

Potential RCE when PHP `register_argc_argv` config setting is enabled · Advisory · craftcms/cms · GitHub

https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9
github_commit Patch Available

commit 82e893fb794d (craftcms/cms)

Patch available: craftcms/cms 4.17.10 (contains commit 82e893fb794d)

https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3

Affected Packages

(1 across 1 ecosystem)
Packagist(1)
PackageVulnerable rangeFixed inDependents
craftcms/cms3.0.0 ... 3.9.6 (435 versions)3.9.14

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 6× in last 7d / 21× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-22 19:40 UTCCISA KEV update
  2. 2026-07-22 16:53 UTCEG score recompute
  3. 2026-07-22 14:07 UTCEPSS rescore
  4. 2026-07-21 14:37 UTCCISA KEV update
  5. 2026-07-17 10:13 UTCEG score recompute
  6. 2026-07-16 17:04 UTCCISA KEV update
  7. 2026-07-15 16:49 UTCCISA KEV update
  8. 2026-07-15 15:04 UTCCISA KEV update
  9. 2026-07-14 18:05 UTCCISA KEV update
  10. 2026-07-13 17:07 UTCCISA KEV update
  11. 2026-07-11 08:26 UTCEPSS rescore
  12. 2026-07-10 17:52 UTCCISA KEV update
  13. 2026-07-07 19:01 UTCCISA KEV update
  14. 2026-07-07 17:16 UTCCISA KEV update
  15. 2026-07-01 19:16 UTCCISA KEV update
  16. 2026-06-29 19:12 UTCCISA KEV update
  17. 2026-06-25 19:15 UTCCISA KEV update
  18. 2026-06-25 13:49 UTCEPSS rescore
  19. 2026-06-25 13:49 UTCEPSS rescore
  20. 2026-06-23 21:32 UTCEPSS rescore
  21. 2026-06-23 17:44 UTCCISA KEV update
  22. 2026-06-22 14:25 UTCEPSS rescore
  23. 2026-06-22 14:25 UTCEPSS rescore
  24. 2026-06-18 17:52 UTCEPSS rescore
  25. 2026-06-18 17:52 UTCEPSS rescore
Show 29 more
  1. 2026-06-18 16:13 UTCCISA KEV update
  2. 2026-06-16 19:33 UTCCISA KEV update
  3. 2026-06-15 19:33 UTCCISA KEV update
  4. 2026-06-15 17:48 UTCEPSS rescore
  5. 2026-06-13 22:59 UTCEPSS rescore
  6. 2026-06-13 22:59 UTCEPSS rescore
  7. 2026-06-12 17:35 UTCCISA KEV update
  8. 2026-06-11 19:10 UTCCISA KEV update
  9. 2026-06-09 18:42 UTCCISA KEV update
  10. 2026-06-09 17:12 UTCCISA KEV update
  11. 2026-06-08 19:16 UTCCISA KEV update
  12. 2026-06-08 17:26 UTCCISA KEV update
  13. 2026-06-05 22:43 UTCCISA KEV update
  14. 2026-06-04 13:11 UTCEPSS rescore
  15. 2026-06-04 13:11 UTCEPSS rescore
  16. 2026-06-03 19:09 UTCCISA KEV update
  17. 2026-06-02 18:32 UTCCISA KEV update
  18. 2026-06-01 20:42 UTCCISA KEV update
  19. 2026-05-31 22:30 UTCEPSS rescore
  20. 2026-05-31 22:30 UTCEPSS rescore
  21. 2026-05-29 22:20 UTCCISA KEV update
  22. 2026-05-28 13:44 UTCEPSS rescore
  23. 2026-05-28 13:44 UTCEPSS rescore
  24. 2026-05-28 13:44 UTCEPSS rescore
  25. 2026-05-27 20:35 UTCCISA KEV update
  26. 2026-05-26 19:13 UTCCISA KEV update
  27. 2026-05-26 13:43 UTCEPSS rescore
  28. 2026-05-26 13:43 UTCEPSS rescore
  29. 2026-05-23 16:17 UTCEG score recompute

Publicly available exploits

(4 references)

Working exploit code is in the public domain (1 Metasploit module) (2 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCSachinart/CVE-2024-56145-craftcms-rce
    First seen Dec 22, 2024

    CVE-2024-56145 SSTI to RCE - twig templates

    Open source ↗
  • GitHub PoCChocapikk/CVE-2024-56145
    First seen Dec 20, 2024

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

    Open source ↗
  • Metasploitexploit/linux/http/craftcms_ftp_template✓ verified
    First seen Dec 19, 2024

    Craft CMS Twig Template Injection RCE via FTP Templates Path

    Open source ↗
  • Nucleihttp/cves/2024/CVE-2024-56145.yaml
    First seen Jan 1, 2024

    Craft CMS - Remote Code Execution via Template Path Manipulation

    Open source ↗

Frequently asked(6)

What is CVE-2024-56145?
CVE-2024-56145 is a critical vulnerability published on December 18, 2024. 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 registerargcargv enabled. For these users an unspecified remote code execution vector is present.…
When was CVE-2024-56145 disclosed?
CVE-2024-56145 was first published in the National Vulnerability Database on December 18, 2024, with the most recent update on October 24, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2024-56145 actively exploited?
Yes. CISA added CVE-2024-56145 to the Known Exploited Vulnerabilities catalog on June 2, 2025, affecting Craft CMS Craft CMS. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate patching attention.
What is the CVSS score of CVE-2024-56145?
CVE-2024-56145 has a CVSS v3 base score of 9.8 (NVD).
Which products are affected by CVE-2024-56145?
CVE-2024-56145 affects Craft CMS Craft CMS. The full affected-products list, including version ranges and fixed versions, is shown in the Affected Packages section of this page.
How do I remediate CVE-2024-56145?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2024-56145, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-56145

Explore →

Is Your Infrastructure Affected by CVE-2024-56145?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.