CVE-2025-23209: Craft CMS Code Injection Vulnerability
Yes. CVE-2025-23209 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 20 February 2025. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 22.1%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 20 February 2025
- Used in ransomware
- Not known
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 22.1% in the next 30 days, higher than 97.7% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 8.1 High (version 3.1)
- Affects
- Craft CMS Craft CMS
- Type of flaw
- Code injection (CWE-94)
- Published
- 18 January 2025
- US federal patch deadline
- 13 March 2025
What it is
Craft CMS contains a code injection vulnerability caused by improper validation of the database backup path, ultimately enabling remote code execution.
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.
Description from the CVE record.
Is CVE-2025-23209 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2025-23209 on 20 February 2025.
Affected products
- craftcms cms: >= 5.0.0-RC1, < 5.5.5; >= 4.0.0-RC1, < 4.13.8
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Craft CMS runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Craft CMS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Craft CMS products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2025-32432 | Craft CMS | Public exploit | 99.8% | 25 April 2025 |
| CVE-2024-56145 | Craft CMS | Public exploit | 97.3% | 18 December 2024 |
| CVE-2025-35939 | Craft CMS | No public exploit found | 3.5% | 7 May 2025 |
Sources
- CVE record for CVE-2025-23209
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- github.com (x_refsource_CONFIRM)
- github.com (x_refsource_MISC)
- craftcms.com (x_refsource_MISC)
Machine-readable: /api/cve/CVE-2025-23209.json