CVE-2026-136152: Prevent Direct Access before 2.8.9.2 Information Disclosure via robots.txt
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.8.9.2
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
No authentication or user interaction is required. An attacker can send an HTTP request for the dynamically generated robots.txt file.
What information may be exposed?
The robots.txt Disallow rules can reveal protected media attachment page URLs, original file names, upload directory structures, attachment slugs, and direct _pda/ directory file paths.
Does disclosure of the paths necessarily allow protected files to be downloaded?
Not necessarily. The disclosed paths may enable direct file access when server-level restrictions are missing or misconfigured.
How can I check whether my site is exposing this information?
Request the site's robots.txt and inspect its generated Disallow entries for attachment page URLs or direct paths under the _pda/ directory. Affected plugin versions are before 2.8.9.2.