CVE-2026-3835 Prevent Direct Access – Protect WordPress Files <= 2.8.8.8 - Unauthenticated Protected File Access
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- WordPress
Description
The Prevent Direct Access – Protect WordPress Files plugin for WordPress is vulnerable to unauthorized access of protected files due to insufficient token validation in the get_advance_file_by_url() method in all versions up to, and including, 2.8.8.8 The method uses a SQL LIKE operator for token lookup without escaping wildcard characters via $wpdb->esc_like(). This makes it possible for unauthenticated attackers to bypass the private token requirement by supplying SQL wildcard characters (such as %) as the token value, matching any record in the plugin's file table and downloading any protected file.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| buildwps Prevent Direct Access – Protect WordPress Files | <= 2.8.8.8 | after 2.8.8.8 | Fixed |
| wordpress prevent-direct-access(WordPress) | < 2.8.8.9 | 2.8.8.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| buildwps Prevent Direct Access – Protect WordPress Files | <= 2.8.8.8 | No fix listed |
| wordpress prevent-direct-access(WordPress) | < 2.8.8.9 | 2.8.8.9 |