# 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`), https://wordpress.org/plugins/hide-my-wp/
- **Affected versions:** all versions before 7.0.20
- **Fixed in:** 7.0.20 (Update to 7.0.20 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-552
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/hide-my-wp
- **Fix released:** 2026-11-20
- **Published:** 2026-11-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3682/

## 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/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3682/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
