Actively exploited vulnerability / CVE-2024-56145
Craft CMS: an attacker can take control of the server running your website
This flaw lets an attacker on the internet run their own commands on the server hosting your website, if a particular PHP setting (register_argc_argv) is enabled. That means they could change your site, steal customer data or use the server for further attacks. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2024-56145 · EUVD-2024-3545
- Severity
- Critical (9.3/10)
- On the CISA list (US)
- yes, since 2 June 2025
- Deadline given to US federal agencies
- 23 June 2025
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 69.5% (FIRST's estimate for the next 30 days)
Does it concern you?
Craft CMS is a content management system used to build and run websites. It is typically found at companies whose website was built by a web agency or a developer working with PHP.
Affected versions are 3.0.0 up to but not including 3.9.14, 4.0.0 up to but not including 4.13.2, and 5.0.0 up to but not including 5.5.2. The version is shown in the Craft control panel; if you have no access, ask the agency or person who manages your site, and also ask whether register_argc_argv is enabled.
Affected products and versions
- Craft CMS
- craft cms: from 3.0.0 before 3.9.14; from 4.0.0 before 4.13.2; from 5.0.0 before 5.5.2
What to do
Update to version 3.9.14, 4.13.2 or 5.5.2, depending on the version line you use. If you cannot update right away, ask your server administrator to disable the register_argc_argv setting in the PHP configuration.
Versions that contain the fix: 3.9.14, 4.13.2, 5.5.2.
The official description
The text below is the description from the public database.
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.
Sources
- GitHub Advisory Database
- CVE Program
- Vendor advisory: github.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.