Ghost (Hide My WP Ghost) 7.0.00 - 7.0.18 - Two-Factor Authentication Bypass
Strategic Overview
- Status
- Patched in 7.0.19
- Affected Plugin
- Hide My WP Ghost – Security & Firewall
- Affected Version
7.0.00 – 7.0.18- CVSS
- 6.3Medium
- Weakness type
- CWE-287 · Improper Authentication
- CVE
CVE-2026-126040
At a glance
CVE-2026-126040 is a medium-severity Improper Authentication vulnerability in the Hide My WP Ghost WordPress plugin, affecting versions 7.0.00 – 7.0.18. It carries a CVSS score of 6.3 (reachable over the network; low attack complexity). The issue is fixed in version 7.0.19; sites on affected versions should update now. Disclosed November 2026, reported by Naoki Kawahigashi.
Vulnerability Overview
The Ghost (Hide My WP Ghost) plugin for WordPress is vulnerable to 2FA Authentication Bypass in versions 7.0.00 through 7.0.18. This is due to insufficient enforcement of two-factor authentication across all authentication paths, as the second factor is only validated on the interactive login flow and not on the XML-RPC authentication path. This makes it possible for unauthenticated attackers to authenticate as any user for whom they possess a valid password, bypassing the two-factor authentication requirement and gaining full access to that user's account.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-287: Improper Authentication
Reaching this weakness in Hide My WP Ghost 7.0.00 – 7.0.18 takes a caller who can reach the endpoint. Improper authentication means the mechanism that proves who a caller is can be satisfied without the secret it was supposed to require.
An attacker authenticates as another user — administrators included — without ever knowing a password, so password policies and login rate limits never come into play. For Hide My WP Ghost the fix is 7.0.19: builds 7.0.00 – 7.0.18 are affected, anything from 7.0.19 onward is not.
Remediation
Update to version 7.0.19, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Hide My WP Ghost 7.0.19 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Hide My WP Ghost – Security & Firewall
- 9.8CVE-2025-26909: Hide My WP Ghost <= 5.4.01 Local File Inclusion
CVE-2025-26909 - 7.5CVE-2025-2056: WP Ghost <= 5.4.01 Limited File Read
CVE-2025-2056 - 7.2CVE-2026-119159: Hide My WP Ghost <= 7.0.15 Stored XSS
CVE-2026-119159 - 7.2CVE-2026-126039: Ghost (Hide My WP Ghost) <= 7.0.18 Stored XSS
CVE-2026-126039 - 7.2CVE-2026-89051: Hide My WP Ghost <= 7.0.12 Stored Cross-Site Scripting
CVE-2026-89051 - 7.2CVE-2026-81806: Hide My WP Ghost – Security & Firewall <= 7.0.09 SSRF
CVE-2026-81806 - 6.5CVE-2022-4537: Hide My WP Ghost – Security IP Address Spoofing
CVE-2022-4537 - 6.1CVE-2024-10825: Hide My WP Ghost – Security & Firewall Reflected XSS
CVE-2024-10825
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C