Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136152: medium-severity vulnerability (CVSS 6.9) in buildwps Prevent Direct Access – Protect WordPress Files.
What happened
Original description from the source: Prevent Direct Access – Protect WordPress Files plugin before 2.8.9.2 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain protected file names and paths by requesting the dynamically generated robots.txt file, which appends Disallow rules containing attachment page URLs and direct _pda/ directory file paths for all protected media. Attackers can send an unauthenticated HTTP request to robots.txt to enumerate original file names, upload directory structures, and attachment slugs, undermining the plugin's file protection and potentially enabling direct file access if server-level restrictions are misconfigured or absent.
Why it matters
Medium severity, CVSS 6.9.
Affected products and versions
buildwps Prevent Direct Access – Protect WordPress Files < 2.8.9.2
| Product | Versions | Fixed in |
|---|---|---|
| buildwps Prevent Direct Access – Protect WordPress Files | < 2.8.9.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://wordpress.org/plugins/prevent-direct-access/#developers — CVE Program
- https://www.vulncheck.com/advisories/prevent-direct-access-before-2.8.9.2-information-disclosure-via-robots-txt — CVE Program
Weaknesses (CWE): CWE-612, CWE-200
Relevant change history
Published
Preliminary advisory published.