Live threats

All CVEs / Craft CMS

CVE-2025-23209Craft CMS

Remote Code Execution in Craft CMS with Compromised Security Key

High 8.1 KEV No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
—
Auth required
No
In KEV since
Feb 20, 2025
CISA deadline
Mar 13, 2025
Ransomware use
Unknown
Published
Jan 18, 2025
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Craft CMS versions 4 and 5 are vulnerable to remote code execution if the security key has been compromised. An unauthenticated attacker can execute arbitrary code on the server. CISA confirmed this vulnerability as actively exploited.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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

Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 4.13.8, 5.5.8

Update Craft CMS to version 4.13.8 or 5.5.8 as applicable. If you cannot update, immediately rotate your security key.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Craft CMS.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was March 13, 2025.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms ≥ 5.0.0-RC1 < 5.5.8 5.5.8 composer require "craftcms/cms:^5.5.8"
Packagist craftcms/cms ≥ 4.0.0-RC1 < 4.13.8 4.13.8 composer require "craftcms/cms:^4.13.8"

Per OSV / GitHub Advisories (GHSA-x684-96hh-833x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms> 4.0.0 < 4.13.8
craftcmscraft_cms> 5.0.0 < 5.5.8
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms5.0.0
craftcmscraft_cms5.0.0

Official sources

References

Links published by the sources. Open them with care.