Popular WordPress security plugin WP Ghost is vulnerable to a critical severity flaw that could allow unauthenticated attackers to remotely execute code and hijack servers. WP Ghost is a popular security add-on used in over 200,000 WordPress sites that claims to stop 140,000 hacker attacks and over 9 million brute-forcing attempts every month. It also offers protection against SQL injection, script injection, vulnerability exploitation, malware dropping, file inclusion exploits, directory traversal attacks, and cross-site scripting. However, as revealed by Patchstack, the security tool itself is vulnerable to a critical (CVSS score: 9.6) remote code execution (RCE) vulnerability that could lead to a complete website takeover. The flaw, tracked as CVE-2025-26909, impacts all versions of WP Ghost up to 5.4.01 and stems from insufficient input validation in the 'showFile()' function. Exploiting the flaw could allow attackers to include arbitrary files via manipulated URL paths. The flaw is triggered only if WP Ghost's "Change Paths" feature is set to Lite or Ghost mode. Although these modes are not enabled by default, Patchstack notes that the Local File Inclusion (LFI) part applies to nearly all setups. "The vulnerability occurred due to insufficient user input value via the URL path that will be included as a file," reads Patchstack's report. "Due to the behavior of the LFI case, this vulnerability could lead to Remote Code Execution on almost all of the environment setup." H...
WordPress security plugin WP Ghost vulnerable to remote code execution bug
BleepingComputer
·Bill Toulas
·Published Mar 20, 2025
·Updated
Affected Software
2 affected components
WP Ghost=5.4.01
WP Ghost WP Ghost=5.4.01
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses a critical vulnerability in the WordPress security plugin WP Ghost that allows for remote code execution.
2
What security implications are discussed in the article?
The vulnerability could enable unauthenticated attackers to remotely execute code and potentially hijack servers using WP Ghost.
3
What products or software are affected by this vulnerability?
The affected software is the WP Ghost plugin, specifically version 5.4.01.
4
Who is at risk due to this vulnerability?
Users of the WP Ghost plugin may be at risk if they do not update to a secure version.
5
What actions should users take in light of this vulnerability?
Users should immediately update their WP Ghost plugin to the latest version to mitigate the risk of exploitation.