CVE-2024-56145

CVE-2024-56145 is a critical-severity vulnerability in Craftcms Craft Cms with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2025-06-02). The underlying weakness is classified as CWE-94.

Key facts

Description

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.

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 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-56145 being actively exploited?
Yes. CVE-2024-56145 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2025-06-02, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2024-56145?
CVE-2024-56145 affects Craftcms Craft Cms. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-56145?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2024-56145 have an EU (EUVD) identifier?
Yes. CVE-2024-56145 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3545. It is also flagged as exploited in the EUVD (since 2025-06-02).
When was CVE-2024-56145 published?
CVE-2024-56145 was published on 2024-12-18 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Craftcms Craft Cms

All CVEs affecting Craftcms Craft Cms →

Other CWE-94 (Code Injection) vulnerabilities

Browse all CWE-94 (Code Injection) vulnerabilities →