CVE-2025-54417: craftcms cms · Code Injection
Affects craftcms cmsSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.2 Medium · fixed in 4.16.3 : update craftcms cms when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.16.3
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UExploitation evidence
Disclosed: evidence found.
CVE published 9 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
1. Immediate upgrade of Craft CMS installations to versions 4.16.3 or 5.8.4 or later to apply the official patch addressing this vulnerability. 2. Conduct a thorough audit of security keys used in Craft CMS projects; regenerate and securely store keys to prevent compromise. 3. Restrict write permissions to the /storage/backups directory to trusted processes only, minimizing the ability of attackers to create arbitrary files. 4. Implement strict access controls and monitoring on the /updater/restore-db endpoint, including IP whitelisting and authentication where possible. 5. Monitor logs for suspicious activity related to backup file creation and restore endpoint access to detect potential exploitation attempts. 6. Employ web application firewalls (WAFs) with custom rules to detect and block malicious requests targeting the restore-db endpoint. 7. Regularly review and harden server and application configurations to reduce attack surface, including disabling unnecessary CLI command execution capabilities. 8. Educate development and operations teams about secure key management and the risks of code injection vulnerabilities. 9. Establish incident response procedures to quickly isolate and remediate compromised systems if exploitation is suspected.
Description
Craft is a platform for creating digital experiences. Versions 4.13.8 through 4.16.2 and 5.5.8 through 5.8.3 contain a vulnerability that can bypass CVE-2025-23209: "Craft CMS has a potential RCE with a compromised security key". To exploit this vulnerability, the project must meet these requirements: have a compromised security key and create an arbitrary file in Craft's /storage/backups folder. With those criteria in place, attackers could create a specific, malicious request to the /updater/restore-db endpoint and execute CLI commands remotely. This issue is fixed in versions 4.16.3 and 5.8.4.