Vulnerabilities

Vulnerability · CVE-2024-56145

Craft CMS Code Injection Vulnerability

Published Dec 18, 2024 · catalog updated Jun 17, 2026 · Craft CMS Craft CMS

Patch now

CVE-2024-56145 is in the CISA known-exploited catalog, due Jun 23, 2025. Confirm Craft CMS Craft CMS against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • No version range is stored. A customer cannot check an installed version against this record.
Severity
Critical9.3
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
97.41%
Remediation
Remediation guidance
Affected products
cpe craftcms/craft cms · vendor Craft CMS Craft CMS

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 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 to mitigate the issue.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe craftcms/craft cmsversion unspecified
  • vendor Craft CMS Craft CMSversion unspecified

How to fix CVE-2024-56145

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2024-56145 is in the CISA known-exploited catalog, due Jun 23, 2025. Confirm Craft CMS Craft CMS against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

What should an analyst verify?

CWE-94: Code Injection. EPSS 97.41%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 18, 2024 · Catalog

    Detected

    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 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 to mitigate the

  2. Jun 2, 2025 · CISA KEV

    Known exploited

    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

  3. Jun 23, 2025 · CISA KEV

    Remediation due

    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

  4. Jun 17, 2026 · Catalog

    Updated

    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 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 to mitigate the

Sources

  • CISA KEVConfirmed exploitationCVE-2024-56145

    Craft CMS contains a code injection vulnerability. Users with affected versions are vulnerable to remote code execution if their php.ini configuration has enabled.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2024-56145

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2024-56145

    30-day exploitation probability 97.4%

    first.org
  • Metasploit ModulesPublic exploit moduleexploit_linux/http/craftcms_ftp_template

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDVulnerability recordCVE-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 enabled. For these users an unspecified remote code executio

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2024-56145

    Craft CMS contains a code injection vulnerability. Users with affected versions are vulnerable to remote code execution if their php.ini configuration has enabled.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.