CVE-2026-136152Prevent 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- buildwps Prevent Direct Access – Protect WordPress Files: affected: before 2.8.9.2; fixed in
2.8.9.2
Vendor advisories:
- https://wordpress.org/plugins/prevent-direct-access/#developers (patch, release-notes)
References
- https://wordpress.org/plugins/prevent-direct-access/#developers
- https://www.vulncheck.com/advisories/prevent-direct-access-before-2.8.9.2-information-disclosure-via-robots-txt
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.