# CVE-2026-3835: Prevent Direct Access – Protect WordPress Files <= 2.8.8.8 - Unauthenticated Protected File Access

- Severity: Medium 5.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-08-13T05:29:19.702Z
- Modified: 2026-08-14T19:09:56.813Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- buildwps Prevent Direct Access – Protect WordPress Files: up to 2.8.8.8

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/c39d16f1-ce80-402c-8a36-f9070dc5f9c9?source=cve>
- <https://plugins.trac.wordpress.org/browser/prevent-direct-access/trunk/includes/repository.php#L221>
- <https://plugins.trac.wordpress.org/browser/prevent-direct-access/tags/2.8.8.4/includes/repository.php#L221>
- <https://plugins.trac.wordpress.org/browser/prevent-direct-access/trunk/download.php#L377>
- <https://wordpress.org/plugins/prevent-direct-access/>
- <https://plugins.trac.wordpress.org/changeset?reponame=&new=3637502%40prevent-direct-access%2Ftags%2F2.8.8.9&old=3524320%40prevent-direct-access%2Ftags%2F2.8.8.8>
- <https://plugins.trac.wordpress.org/changeset/3637499/prevent-direct-access/trunk/includes/repository.php>
- <https://plugins.trac.wordpress.org/changeset?old_path=%2Fprevent-direct-access/tags/2.8.8.8&new_path=%2Fprevent-direct-access/tags/2.8.8.9>

## Sources

- CVE List: [CVE-2026-3835](https://www.cve.org/CVERecord?id=CVE-2026-3835), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-3835](https://nvd.nist.gov/vuln/detail/CVE-2026-3835), Public domain, modified 2026-08-14

---

Page: https://cve.day/CVE-2026-3835 · Whole record: https://cve.day/CVE-2026-3835.json · Rebuilt by cve.day 2026-11-25T22:59:32.688Z
