---
id: "CVE-2025-23209"
kind: "vulnerability"
aliases: ["CVE-2025-23209"]
title: "craftcms craft cms: Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond"
severity: "critical"
cvss: 8.1
epss: null
exploited: true
status: "open"
category: "other"
products: [{"name": "Craft CMS Craft CMS", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"name": "craftcms craft cms", "fixed": ["4.13.8"], "affected": "> 4.0.0, < 4.13.8", "ecosystem": "vendor"}, {"name": "craftcms craft cms", "fixed": ["5.5.8"], "affected": "> 5.0.0, < 5.5.8", "ecosystem": "vendor"}, {"name": "craftcms craft cms", "fixed": [], "affected": "= 4.0.0", "ecosystem": "vendor"}, {"name": "craftcms craft cms", "fixed": [], "affected": "= 5.0.0", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["craft-cms", "exploited", "other", "php", "self-hosted"]
not_affected_if: ["unknown"]
published_at: "2025-01-18T01:15:07+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-23T22:29:05+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-23209", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-23209", "first_seen_at": "2026-10-23T22:29:05+00:00"}]
---

# craftcms craft cms: Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond

Craft CMS, a PHP content management system, has a code injection flaw in how it validates the database backup path. An attacker can use it to run code on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Craft CMS Craft CMS affected ? fixed ?
- vendor:craftcms craft cms affected > 4.0.0, < 4.13.8 fixed 4.13.8
- vendor:craftcms craft cms affected > 5.0.0, < 5.5.8 fixed 5.5.8
- vendor:craftcms craft cms affected = 4.0.0 fixed ?
- vendor:craftcms craft cms affected = 5.0.0 fixed ?

## Fix

Apply the vendor mitigation per Craft CMS guidance, or stop using the product if no mitigation exists; the sources do not name a fixed version.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-23209
- 2026-10-23T22:29:05+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-23209

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
