Craft CMS code injection via database backup path
CVE-2025-23209Known exploitedHigh
Craft CMS contains a code injection vulnerability caused by improper validation of the database backup path. An attacker who has already compromised the security key can inject code through the backup path to achieve remote code execution. The vulnerability affects Craft 4 and 5 installations where the security key has been compromised.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 20 Feb 2025
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Craft CMS. CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-94 (opens in a new tab)
Affected versions
- craftcms craft cms: after 4.0.0, before 4.13.8
- craftcms craft cms: after 5.0.0, before 5.5.8
- craftcms craft cms: 4.0.0
- craftcms craft cms: 5.0.0