Hide My WP Ghost <= 7.0.19 - Unauthenticated Limited File Read via File Loader
- ID
- WPSEC-2026-3682
- Plugin
- Hide My WP Ghost – Security & Firewall (hide-my-wp)
- Affected
- all versions before 7.0.20
- Remediation
- Update to 7.0.20 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-552
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-11-21
- Attack surface
- Hide My WP Ghost on WPSec AttackSurface
- Fix released
- Published
Description
The Hide My WP Ghost plugin for WordPress is vulnerable to Limited File Read via its PHP file loader (showFile, reached through the request URI or the 'hmwp_url' parameter) in all versions up to, and including, 7.0.19. This is due to the loader mapping a requested address back to a real file under the website root and streaming it without checking the .htaccess access rules (such as Deny, Require or [F] rules) of that file's folders, and accepting addresses that let a request skip the server's own rewrite and access rules: ones that only change when sanitized (such as one containing a backslash), case variants of the changed paths, dot segments, and any file type through the 'hmwp_url' parameter. This makes it possible for unauthenticated attackers to download files with handled extensions (for example .zip, .pdf, .csv, .doc, .xls, .js and .css) from folders that .htaccess rules close to visitors, such as protected download or backup folders.
References
- https://wpsec.com/vuln/WPSEC-2026-3682/
- https://plugins.svn.wordpress.org/hide-my-wp/tags/7.0.20/
- https://wordpress.org/plugins/hide-my-wp/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS