CVE-2025-26909 WordPress Hide My WP Ghost plugin <= 5.4.01 - Local File Inclusion to RCE vulnerability

Critical 9.6 Published Updated

An attacker can exploit a local file inclusion vulnerability in the Hide My WP Ghost plugin to achieve remote code execution on the WordPress site.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-26909?

CVE-2025-26909 is a critical path traversal vulnerability in John Darrel Hide My WP Ghost, published on 27 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in John Darrel Hide My WP Ghost hide-my-wp allows PHP Local File Inclusion.This issue affects Hide My WP Ghost: from n/a through <= 5.4.01.

Weakness: CWE-98

Which versions are affected by CVE-2025-26909?

It affects 1 product.

Products include Wpplugins Hide My Wp Ghost.

How do I fix CVE-2025-26909?

No fix has been published for CVE-2025-26909 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-26909 being exploited?

There is no known exploitation of CVE-2025-26909 in the wild and no public exploit code.

Sources

Also known as GHSA-fhrv-4645-phmg.

Is CVE-2025-26909 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free