• News/
  • https://www.bleepingcomputer.com/news/security/wordpress-security-plugin-wp-ghost-vulnerable-to-remote-code-execution-bug/

WordPress security plugin WP Ghost vulnerable to remote code execution bug

BleepingComputer
·
Bill Toulas
·
Published Mar 20, 2025
·
Updated

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...

Read full article

Affected Software

2 affected components
WP Ghost=5.4.01
WP Ghost WP Ghost=5.4.01
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203