CVE-2026-3835
The Prevent Direct Access – Protect WordPress Files plugin for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/prevent-direct-access/tags/2.8.8.4/includes/repository.
- plugins.trac.wordpress.org/browser/prevent-direct-access/trunk/download.php#L377
- plugins.trac.wordpress.org/browser/prevent-direct-access/trunk/includes/repository.php#L22
- plugins.trac.wordpress.org/changeset/3637499/prevent-direct-access/trunk/includes/reposito
- plugins.trac.wordpress.org/changeset?old_path=%2Fprevent-direct-access/tags/2.8.8.8&new_pa
- plugins.trac.wordpress.org/changeset?reponame=&new=3637502%40prevent-direct-access%2Ftags%
- wordpress.org/plugins/prevent-direct-access/
- www.wordfence.com/threat-intel/vulnerabilities/id/c39d16f1-ce80-402c-8a36-f9070dc5f9c9?sou
- nvd.nist.gov/vuln/detail/CVE-2026-3835
- cve.org/CVERecord?id=CVE-2026-3835
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.