CVE-2025-26909

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

Published Mar 27, 2025 CVSS 3.1 · 9.6 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A Local File Inclusion flaw in the Hide My WP Ghost plugin for WordPress allows an attacker to read arbitrary files on the server and subsequently execute PHP code, leading to full control of the affected web environment. The vulnerability is a classic CWE‑98 issue involving improper validation of filenames used in PHP include or require statements. If successfully exploited, confidential data could be disclosed, the server could be compromised, and the website’s integrity and availability would be threatened.

Affected Systems

The issue impacts the WordPress plugin Hide My WP Ghost developed by John Darrel, affecting all releases from the initial version up through 5.4.01. WordPress sites running any of these versions are vulnerable.

Risk and Exploitability

The CVSS score of 9.6 indicates a critical threat, but the EPSS score of less than 1% suggests the likelihood of widespread exploitation remains low at present. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires that the attacker is able to influence the include path parameter, which typically occurs via crafted requests that manipulate user input or via local privilege escalation. Once the file is included, arbitrary PHP execution can be achieved, making the vulnerability essentially a remote code execution vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Hide My WP Ghost to version 5.4.02 or later, applying the vendor‑supplied security fix.
  • If the plugin is not essential, disable or remove it from the WordPress installation.
  • Configure the web server to restrict file permissions so that only necessary files are readable by the PHP process, limiting the impact of any potential LFI attempt.
  • Deploy a web application firewall or similar intrusion prevention system to detect and block suspicious file inclusion requests.

Generated by OpenCVE AI on May 1, 2026 at 12:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-14845 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in John Darrel Hide My WP Ghost allows PHP Local File Inclusion.This issue affects Hide My WP Ghost: from n/a through 5.4.01.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in John Darrel Hide My WP Ghost allows PHP Local File Inclusion.This issue affects Hide My WP Ghost: from n/a through 5.4.01. 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.
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Wpplugins
Wpplugins hide My Wp Ghost
CPEs cpe:2.3:a:wpplugins:hide_my_wp_ghost:*:*:*:*:*:wordpress:*:*
Vendors & Products Wpplugins
Wpplugins hide My Wp Ghost
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in John Darrel Hide My WP Ghost allows PHP Local File Inclusion.This issue affects Hide My WP Ghost: from n/a through 5.4.01.
Title WordPress Hide My WP Ghost plugin <= 5.4.01 - Local File Inclusion to RCE vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:11 PM
Reserved
Feb 17, 2025, 11:50 AM
Status
Modified
Published
Mar 27, 2025, 4:15 PM
Modified
Jun 17, 2026, 9:02 AM