Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2025-23209

CVE-2025-23209: Craft CMS has a potential RCE with a compromised security key

January 21, 2025 (updated October 22, 2025)

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.

References

  • craftcms.com/knowledge-base/securing-craft
  • github.com/advisories/GHSA-x684-96hh-833x
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603
  • github.com/craftcms/cms/security/advisories/GHSA-x684-96hh-833x
  • nvd.nist.gov/vuln/detail/CVE-2025-23209
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-23209

Code Behaviors & Features

Detect and mitigate CVE-2025-23209 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.13.8, all versions starting from 5.0.0-RC1 before 5.5.8

Fixed versions

  • 5.5.8
  • 4.13.8

Solution

Upgrade to versions 4.13.8, 5.5.8 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/craftcms/cms/CVE-2025-23209.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.