CVE-2025-23209
PHP vulnerability analysis and mitigation

Overview

CVE-2025-23209 is a remote code execution (RCE) vulnerability affecting Craft CMS versions 4 and 5. The vulnerability was discovered in December 2024 and publicly disclosed on January 18, 2025. It specifically impacts installations where the security key has been compromised, affecting all versions from 4.0.0-RC1 to 4.13.8 and 5.0.0-RC1 to 5.5.8. The vulnerability has been patched in versions 4.13.8 and 5.5.8 (GitHub Advisory).

Technical details

The vulnerability is classified as a code injection vulnerability (CWE-94) that enables remote code execution when an attacker has access to a compromised security key. It received a CVSS v3.1 base score of 8.1 (High), with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The vulnerability specifically relates to improper validation of the database backup path, which could ultimately enable remote code execution (NVD, Hacker News).

Impact

The vulnerability allows attackers with access to a compromised security key to execute arbitrary code remotely on affected systems. This could potentially lead to complete system compromise, as the vulnerability affects confidentiality, integrity, and availability with high severity ratings (GitHub Advisory).

Mitigation and workarounds

Organizations are advised to update to the patched versions (Craft 5.5.8 or 4.13.8) immediately. For those unable to update, the recommended workaround is to rotate their security keys and ensure their privacy. Additionally, organizations should follow security best practices including keeping secrets secure and implementing proper access controls (Craft Security Guide).

Community reactions

The vulnerability has gained significant attention from the cybersecurity community, leading to CISA adding it to their Known Exploited Vulnerabilities catalog. The quick response from Craft CMS in releasing patches and the subsequent advisory from CISA highlights the severity of the vulnerability (CISA Alert).

Additional resources


SourceThis report was generated using AI

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