Skip to main content
EPSS 0.5%top 61%

CVE-2026-3835: CWE-285 Improper Authorization in buildwps Prevent Direct Access – Protect WordPress Files

0
Medium
Published: 08/13/2026 (08/13/2026, 05:29:19 UTC)
Source: CVE Database V5
Vendor/Project: buildwps
Product: Prevent Direct Access – Protect WordPress Files

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected software

buildwps

Prevent Direct Access – Protect WordPress Files

Affected versions
>=0 <=2.8.8.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 06:00:05 UTC

Technical Analysis

The Prevent Direct Access – Protect WordPress Files plugin for WordPress suffers from an improper authorization vulnerability (CWE-285) in the get_advance_file_by_url() method. This method uses a SQL LIKE operator for token lookup but fails to escape wildcard characters using $wpdb->esc_like(). Consequently, an attacker can supply SQL wildcard characters such as '%' as the token value, which matches any record in the plugin's file table. This flaw allows unauthenticated attackers to bypass the private token requirement and download any protected file. The vulnerability affects all versions up to and including 2.8.8.8. No official patch or remediation guidance is currently provided by the vendor.

Potential Impact

An unauthenticated attacker can bypass the plugin's intended access controls and download any protected file. This leads to unauthorized disclosure of potentially sensitive files protected by the plugin. The vulnerability does not impact integrity or availability but compromises confidentiality of protected WordPress files.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling the plugin or restricting access to protected files by alternative means. Avoid exposing sensitive files relying solely on this plugin's protection.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-09T14:22:47.517Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7d591abf8831d539bb96e4

Added to database: 08/13/2026, 05:41:46 UTC

Last enriched: 08/13/2026, 06:00:05 UTC

Last updated: 09/27/2026, 08:04:11 UTC

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses