CVE-2025-23209: Craft CMS has a potential RCE with a compromised security key
CVE-2025-23209 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2025-01-21
Craft CMS contains a code injection vulnerability due to improper validation of the database backup path. This allows remote code execution (RCE) on systems where the security key has been compromised.
Yes. craftcms/cms (Packagist): upgrade to 5.5.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-23209 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2025-23209?
Check whether you run Craft CMS or craftcms/cms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
craftcms/cms (Packagist): upgrade to 5.5.8 or later
composer require craftcms/cms:^5.5.8
Affected products
Craft CMS Craft CMS 4.x < 4.13.8, 5.x < 5.5.8
Identifiers
CVE-2025-23209
GHSA-x684-96hh-833x
Timeline
2025-01-17: disclosed
2025-02-20: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
2025-02-20: exploited
2025-01-17: patched: Patched in versions 4.13.8 and 5.5.8