CVE-2025-23209
JSON

8.1highExploited

Potential RCE with a compromised security key in craft/cms

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
22.1% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-x684-96hh-833x

Description

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.

Affected

Product or packageVersionsReported by
craftcms cms>= 5.0.0-RC1, < 5.5.5, >= 4.0.0-RC1, < 4.13.8CVE List
craftcms/cms (Packagist)from 5.0.0-RC1 before 5.5.8, from 4.0.0-RC1 before 4.13.8GitHub Advisory Database
craftcms craft_cmsfrom >4.0.0 before 4.13.8, from >5.0.0 before 5.5.8, 4.0.0, 5.0.0NVD
Craft CMS Craft CMSNot specifiedCISA KEV

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub8.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

This is an RCE vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised.

https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret

Anyone running an unpatched version of Craft with a compromised security key is affected.

Patches

This has been patched in Craft 5.5.8 and 4.13.8.

Workarounds

If you can't update to a patched version, then rotating your security key and ensuring its privacy will help to migitgate the issue.

References

https://github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603

NVD (es)

Craft es un CMS flexible y fácil de usar para crear experiencias digitales personalizadas en la web y más allá. Esta es una vulnerabilidad de ejecución remota de código (RCE) que afecta a las instalaciones de Craft 4 y 5 en las que su clave de seguridad ya se ha visto comprometida. Cualquiera que ejecute una versión sin parches de Craft con una clave de seguridad comprometida se ve afectado. Esta vulnerabilidad se ha corregido en Craft 5.5.8 y 4.13.8. Los usuarios que no puedan actualizar a una versión parcheada deben rotar sus claves de seguridad y garantizar su privacidad para ayudar a mitigar el problema.

CISA KEV

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

References

Sources

SourceRecordLicence
CVE ListCVE-2025-23209 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-x684-96hh-833x changed 2025-10-22CC-BY-4.0
NVDCVE-2025-23209 changed 2026-06-17Public domain
CISA KEVCVE-2025-23209 changed 2025-02-20CC0-1.0