CVE-2025-23209
Craft CMS Code Injection Vulnerability
- Actively exploited
- High · 8.1 of 10
- Exploited since
- 20 Feb 2025 added to the CISA list
- Chance of attacks
- 22% in the next 30 days (FIRST EPSS)
- Fix deadline
- 13 Mar 2025 for US federal agencies
- Published
- 18 Jan 2025 in the NVD
What this means
Craft CMS contains a code injection vulnerability caused by improper validation of the database backup path, ultimately enabling remote code execution.
CISA
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.
NIST National Vulnerability Database
What to do
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- craftcms cms
Official sources
- nvd.nist.gov/vuln/detail/CVE-2025-23209
- github.com/craftcms/cms/security/advisories/GHSA-x684-96hh-833x vendor advisory
- craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret
- github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-23209
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.