CVE-2025-2056 WP Ghost <= 5.4.01 - Unauthenticated Limited File Read

High 7.5 Published Updated

Unauthenticated attackers can read sensitive server files via path traversal in the WP Ghost WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-2056?

CVE-2025-2056 is a high-severity path traversal vulnerability in johndarrel WP Ghost (Hide My WP Ghost) – Security & Firewall, published on 14 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WP Ghost (Hide My WP Ghost) – Security & Firewall plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 5.4.01 via the showFile function. This makes it possible for unauthenticated attackers to read the contents of specific file types on the server, which can contain sensitive information.

Weakness: CWE-23

Which versions are affected by CVE-2025-2056?

It affects 1 product.

Products include Wpplugins Hide My Wp Ghost.

How do I fix CVE-2025-2056?

No fix has been published for CVE-2025-2056 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-2056 being exploited?

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

Sources

Also known as GHSA-fpqv-c47q-5w5q.

Is CVE-2025-2056 in your software?

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

Check your SBOMs for free