
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-3835 is an improper authorization vulnerability in the "Prevent Direct Access – Protect WordPress Files" plugin for WordPress that allows unauthenticated attackers to bypass file access controls and download any protected file. The flaw exists in all versions up to and including 2.8.8.8, developed by buildwps. It was published on August 13, 2026, with a patch available in version 2.8.8.9. The vulnerability carries a CVSS v3.1 base score of 5.3 (Medium) (GitHub Advisory, Wordfence).
The root cause is classified as CWE-285 (Improper Authorization), with an additional estimate of CWE-89 (SQL Injection) due to the underlying mechanism. The vulnerable get_advance_file_by_url() method in includes/repository.php performs a SQL LIKE query to look up file access tokens without first escaping wildcard characters using WordPress's $wpdb->esc_like() function. An unauthenticated attacker can supply a SQL wildcard character such as % as the token value, which matches any record in the plugin's file table, effectively bypassing the private token requirement entirely. The vulnerable code path is visible in the plugin's Trac repository at line 221 of repository.php and line 377 of download.php (GitHub Advisory, Wordfence).
Successful exploitation allows an unauthenticated remote attacker to download any file that the plugin is configured to protect, bypassing all access controls. The primary impact is a confidentiality breach — sensitive documents, media, or other files intended to be restricted to authorized users can be freely accessed. There is no integrity or availability impact, and the vulnerability does not directly enable code execution or lateral movement, but exposure of sensitive files (e.g., credentials, proprietary documents) could facilitate further attacks (GitHub Advisory, Wordfence).
No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at the time of disclosure (Wordfence). The EPSS score is 0.0, reflecting a currently low probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the attack requires no authentication and low complexity, making it straightforward to exploit if a threat actor targets affected installations.
https://target.com/wp-content/plugins/prevent-direct-access/readme.txt) or using web scanning tools.%. For example: https://target.com/?pda_token=%&file=protected-document.pdf (exact parameter names may vary by plugin configuration).get_advance_file_by_url() method executes a SQL LIKE query using the supplied % token, which matches any record in the file table.pda_token or equivalent token parameters) where the token value is a single % character or consists entirely of SQL wildcard characters (%, _).download.php) with wildcard-only token values from unexpected or anonymous IP addresses.Update the "Prevent Direct Access – Protect WordPress Files" plugin to version 2.8.8.9 or later, which addresses the vulnerability by properly escaping wildcard characters in SQL token lookups using $wpdb->esc_like(). The patch changeset is publicly available in the plugin's Trac repository. As an interim measure, administrators should review web server and WordPress access logs for suspicious file download requests and consider implementing rate limiting or IP-based access controls on file download endpoints (GitHub Advisory, Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."