CVE-2026-126040

Ghost (Hide My WP Ghost) 7.0.00 - 7.0.18 - Two-Factor Authentication Bypass

2026-11-16 00:00
Naoki Kawahigashi

Strategic Overview

Status
Patched in 7.0.19
Affected Version
7.0.00 – 7.0.18
CVSS
6.3Medium
Weakness type
CWE-287 · Improper Authentication
CVE
CVE-2026-126040
View all Hide My WP Ghost – Security & Firewall vulnerabilities

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

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C