CVE-2024-56145 — Vulnerability in craftcms/cms — CVE Details
Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Summary
Advisory Timeline
- First published December 18, 2024 (663 days ago).
- Last revised October 22, 2025 — 308 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 165 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "craftcms/cms:^3.9.14"
composer require "craftcms/cms:^5.5.2"
composer require "craftcms/cms:^4.13.2"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| craftcms/cms | packagist | 3.0.0, 3.0.0.1, 3.0.0.2, 3.0.1 (+431 more) | 3.9.14 |
| craftcms/cms | packagist | 5.0.0, 5.0.0-RC1, 5.0.1, 5.0.2 (+64 more) | 5.5.2 |
| craftcms/cms | packagist | 4.0.0, 4.0.0-RC1, 4.0.0-RC2, 4.0.0-RC3 (+160 more) | 4.13.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
References
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-56145ADVISORY
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3WEB
- https://github.com/Chocapikk/CVE-2024-56145WEB
- https://github.com/craftcms/cmsPACKAGE
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145WEB
Frequently Asked Questions
- What is CVE-2024-56145?
- Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-56145?
- CVE-2024-56145 affects craftcms/cms. This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-56145 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: June 2, 2025
Remediation deadline: June 23, 2025
Also Known As
Related CVEs
- CVE-2024-37843CRITICAL
Craft CMS SQL injection vulnerability via the GraphQL API endpoint
- CVE-2026-28697CRITICAL
Craft CMS Vulnerable to Authenticated RCE via "craft.app.fs.write()" in Twig Templates
- CVE-2026-72780CRITICAL
Craft CMS: Passkey login accepts replayed WebAuthn assertions
- CVE-2019-15929CRITICAL
Craft CMS possibility of brute force attempts
- CVE-2026-29069HIGH
Craft CMS has unauthenticated activation email trigger with potential user enumeration
- CVE-2026-25497HIGH
Craft CMS: GraphQL Asset Mutation Privilege Escalation
- CVE-2026-31858HIGH
CraftCMS's `ElementSearchController` Affected by Blind SQL Injection
- CVE-2025-68456HIGH
Unauthenticated Craft CMS users can trigger a database backup
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies