{"id":"GHSA-x684-96hh-833x","aliases":["CVE-2025-23209"],"title":"Craft CMS has a potential RCE with a compromised security key","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"### Impact\n\nThis is an RCE vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised.\n\nhttps://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret\n\nAnyone running an unpatched version of Craft with a compromised security key is affected.\n\n### Patches\n\nThis has been patched in Craft 5.5.8 and 4.13.8.\n\n### Workarounds\n\nIf you can't update to a patched version, then rotating your security key and ensuring its privacy will help to migitgate the issue.\n\n### References\n\nhttps://github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603","severity":"high","score":8,"published":"2025-01-21T19:48:38.000Z","modified":"2025-10-22T19:54:46.578Z","withdrawn":false,"knownExploited":true,"affected":[{"ecosystem":"Packagist","name":"craftcms/cms","sources":[{"name":"OSV · GHSA-x684-96hh-833x","url":"https://osv.dev/vulnerability/GHSA-x684-96hh-833x"}],"ranges":[{"events":[{"introduced":"5.0.0-RC1"},{"fixed":"5.5.8"}],"type":"ECOSYSTEM"}],"versions":["5.0.0","5.0.0-RC1","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.1.0","5.1.1","5.1.10","5.1.2","5.1.3","5.1.4","5.1.5","5.1.6","5.1.7","5.1.8","5.1.9","5.2.0","5.2.0-beta.1","5.2.0-beta.2","5.2.0-beta.3","5.2.0-beta.4","5.2.0-beta.5","5.2.0-beta.6","5.2.1","5.2.10","5.2.2","5.2.3","5.2.4","5.2.4.1","5.2.5","5.2.6","5.2.7","5.2.8","5.2.9","5.3.0","5.3.0-beta.1","5.3.0-beta.2","5.3.0.1","5.3.0.2","5.3.0.3","5.3.1","5.3.2","5.3.3","5.3.4","5.3.5","5.3.6","5.4.0","5.4.0.1","5.4.1","5.4.10","5.4.10.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.5.1","5.4.6","5.4.7","5.4.7.1","5.4.8","5.4.9","5.5.0","5.5.0.1","5.5.1","5.5.1.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.6.1","5.5.7"],"fixed":["5.5.8"]},{"ecosystem":"Packagist","name":"craftcms/cms","sources":[{"name":"OSV · GHSA-x684-96hh-833x","url":"https://osv.dev/vulnerability/GHSA-x684-96hh-833x"}],"ranges":[{"events":[{"introduced":"4.0.0-RC1"},{"fixed":"4.13.8"}],"type":"ECOSYSTEM"}],"versions":["4.0.0","4.0.0-RC1","4.0.0-RC2","4.0.0-RC3","4.0.0.1","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.5.1","4.0.5.2","4.0.6","4.1.0","4.1.0.1","4.1.0.2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.4.1","4.10.0","4.10.0-beta.1","4.10.0-beta.2","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.11.0","4.11.0.1","4.11.0.2","4.11.1","4.11.2","4.11.3","4.11.4","4.11.5","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.4.1","4.12.5","4.12.6","4.12.6.1","4.12.7","4.12.8","4.12.9","4.13.0","4.13.1","4.13.1.1","4.13.2","4.13.3","4.13.4","4.13.5","4.13.6","4.13.7","4.2.0","4.2.0.1","4.2.0.2","4.2.1","4.2.1.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.5.1","4.2.5.2","4.2.6","4.2.7","4.2.8","4.3.0","4.3.1","4.3.10","4.3.11","4.3.2","4.3.2.1","4.3.3","4.3.4","4.3.5","4.3.6","4.3.6.1","4.3.7","4.3.7.1","4.3.8","4.3.8.1","4.3.8.2","4.3.9","4.4.0","4.4.0-beta.1","4.4.0-beta.2","4.4.0-beta.3","4.4.0-beta.4","4.4.0-beta.5","4.4.0-beta.6","4.4.0-beta.7","4.4.1","4.4.10","4.4.10.1","4.4.11","4.4.12","4.4.13","4.4.14","4.4.15","4.4.16","4.4.16.1","4.4.17","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.4.6.1","4.4.7","4.4.7.1","4.4.8","4.4.9","4.5.0","4.5.0-beta.1","4.5.0-beta.2","4.5.1","4.5.10","4.5.11","4.5.11.1","4.5.12","4.5.13","4.5.14","4.5.15","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.5.6.1","4.5.7","4.5.8","4.5.9","4.6.0","4.6.0-RC1","4.6.1","4.7.0","4.7.1","4.7.2","4.7.2.1","4.7.3","4.7.4","4.8.0","4.8.1","4.8.10","4.8.11","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.8.8","4.8.9","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5","4.9.6","4.9.7"],"fixed":["4.13.8"]}],"sourceAffected":[],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-x684-96hh-833x","https://nvd.nist.gov/vuln/detail/CVE-2025-23209","https://github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603","https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret","https://github.com/craftcms/cms","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-23209"],"sources":[{"name":"OSV","id":"GHSA-x684-96hh-833x","modified":"2025-10-22T19:54:46.578925Z","url":"https://osv.dev/vulnerability/GHSA-x684-96hh-833x"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:H","score":8}],"products":[],"remediation":[],"kev":{"status":"listed","checkedAt":"2026-10-28T09:15:31.408Z","cveID":"CVE-2025-23209","vendorProject":"Craft CMS","product":"Craft CMS","vulnerabilityName":"Craft CMS Code Injection Vulnerability","dateAdded":"2025-02-20","shortDescription":"Craft CMS contains a code injection vulnerability caused by improper validation of the database backup path, ultimately enabling remote code execution.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2025-03-13","knownRansomwareCampaignUse":"Unknown","forensicTriage":"No","notes":"https://github.com/craftcms/cms/security/advisories/GHSA-x684-96hh-833x ; https://nvd.nist.gov/vuln/detail/CVE-2025-23209","cwes":["CWE-94"]},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-28T08:50:39.624Z","attemptedAt":"2026-10-28T08:50:39.624Z"},{"source":"GHSA","status":"available","checkedAt":"2026-10-28T08:50:39.479Z","attemptedAt":"2026-10-28T08:50:39.479Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-28T08:50:39.450Z","attemptedAt":"2026-10-28T08:50:39.450Z"},{"source":"EPSS","status":"available","checkedAt":"2026-10-28T08:50:38.205Z","attemptedAt":"2026-10-28T08:50:38.205Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2025-23209","url":"https://www.first.org/epss/","probability":0.21642,"percentile":0.97616,"date":"2026-10-27","checkedAt":"2026-10-28T08:50:38.205Z"},{"source":"ENISA EUVD","id":"EUVD-2025-0208","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-0208","modified":"Feb 26, 2026, 7:09:05 PM","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","checkedAt":"2026-10-28T08:50:39.450Z"},{"source":"GitHub Advisory Database","id":"GHSA-x684-96hh-833x","url":"https://github.com/advisories/GHSA-x684-96hh-833x","modified":"2025-10-22T19:27:25Z","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:H","checkedAt":"2026-10-28T08:50:39.479Z"},{"source":"NVD","id":"CVE-2025-23209","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23209","modified":"2026-06-17T08:52:39.483","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","checkedAt":"2026-10-28T08:50:39.624Z"},{"source":"NVD","id":"CVE-2025-23209","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23209","modified":"2026-06-17T08:52:39.483","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-10-28T08:50:39.624Z"}]}