Vulnerabilities

Vulnerability · CVE-2025-23209

Craft CMS Code Injection Vulnerability

Published Jan 17, 2025 · catalog updated Jun 17, 2026 · Craft CMS Craft CMS

Patch now

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

Severity
High8.1
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
21.78%
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. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version of Craft with a compromised security key is affected. This vulnerability has been patched in Craft 5.5.8 and 4.13.8. Users who cannot update to a patched version, should rotate their security keys and ensure their privacy to help migitgate 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 cms4.0.0
  • cpe craftcms/craft cms5.0.0
  • vendor Craft CMS Craft CMSversion unspecified

How to fix CVE-2025-23209

What to do

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

Should you patch?

CVE-2025-23209 is in the CISA known-exploited catalog, due Mar 13, 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?

Compare what you have installed with craftcms/craft cms 4.0.0; craftcms/craft cms 5.0.0. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

What should an analyst verify?

CWE-94: Code Injection. EPSS 21.78%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. 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. Jan 17, 2025 · Catalog

    Detected

    Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version of Craft with a compromised security key is affected. This vulnerability has been patched in Craft 5.5.8 and 4.13.8. Us

  2. Feb 20, 2025 · CISA KEV

    Known exploited

    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

  3. Mar 13, 2025 · CISA KEV

    Remediation due

    Apply mitigations per vendor instructions 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. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version of Craft with a compromised security key is affected. This vulnerability has been patched in Craft 5.5.8 and 4.13.8. Us

Sources

  • CISA KEVConfirmed exploitationCVE-2025-23209

    Craft CMS contains a code injection vulnerability caused by improper validation of the database backup path, ultimately enabling remote code execution.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2025-23209

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-23209

    30-day exploitation probability 21.8%

    first.org
  • NIST NVDVulnerability recordCVE-2025-23209

    Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2025-23209

    Craft CMS contains a code injection vulnerability caused by improper validation of the database backup path, ultimately enabling remote code execution.

    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.