Prevent Direct Access – Protect WordPress Files <= 2.8.8.8 - Unauthenticated Protected File Access

5.3
Improper Authorization
CVE CVE-2026-3835
CVSS 5.3 (Medium)
Publicly Published August 12, 2026
Last Updated August 13, 2026
Researcher Lucas Montes (NiRoX)

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.

References

Share

Vulnerability Details for Prevent Direct Access – Protect WordPress Files

Software Type Plugin
Software Slug prevent-direct-access (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.8.8.9, or a newer patched version
Affected Version
  • <= 2.8.8.8
Patched Version
  • 2.8.8.9

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation