CVE-2025-54417
PHP vulnerability analysis and mitigation

Overview

Craft CMS 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, which was related to potential Remote Code Execution (RCE) with a compromised security key. The vulnerability was discovered on August 8, 2025, and was assigned identifier CVE-2025-54417. The issue affects the Craft CMS platform, which is used for creating digital experiences (NVD, GitHub Advisory).

Technical details

The vulnerability requires two specific pre-conditions to be exploited: first, having access to a compromised security key, and second, the ability to create an arbitrary file in Craft's /storage/backups folder. When these conditions are met, an attacker could craft a specific malicious request to the /updater/restore-db endpoint to execute CLI commands remotely. The issue was fixed in versions 4.16.3 and 5.8.4 through commit a19d46b, which removed the automated database restoring functionality from web updates (GitHub Commit).

Impact

If successfully exploited, this vulnerability could allow attackers to execute arbitrary CLI commands remotely on the affected system. This could potentially lead to unauthorized access, data manipulation, or complete system compromise, particularly in environments where the security key has been compromised (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Craft CMS versions 4.16.3 and 5.8.4. Users are strongly advised to upgrade to these or later versions. The fix involves removing the automated database restoring functionality from web updates, effectively preventing the potential exploitation path (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-61676MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2025-61674MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2026-21896MEDIUM5.8
  • PHPPHP
  • getkirby/cms
NoYesJan 08, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management