cybersecurity Request an audit

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

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.

Other exploited vulnerabilities in Craft CMS

All exploited vulnerabilities in Craft CMS

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.