{"id":"CVE-2026-3835","state":"PUBLISHED","title":"Prevent Direct Access – Protect WordPress Files <= 2.8.8.8 - Unauthenticated Protected File Access","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.","publishedAt":"2026-08-13T05:29:19.702Z","updatedAt":"2026-08-13T13:46:55.932Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["buildwps Prevent Direct Access – Protect WordPress Files"],"affected":[{"vendor":"buildwps","product":"Prevent Direct Access – Protect WordPress Files","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.8.8.8","versionType":"semver"}]}],"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"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/3xxx/CVE-2026-3835.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3835","state":"PUBLISHED","datePublished":"2026-08-13T05:29:19.702Z","dateUpdated":"2026-08-13T13:46:55.932Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2026-03-09T14:22:47.517Z"},"containers":{"cna":{"title":"Prevent Direct Access – Protect WordPress Files <= 2.8.8.8 - Unauthenticated Protected File Access","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"buildwps","product":"Prevent Direct Access – Protect WordPress Files","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.8.8.8","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c39d16f1-ce80-402c-8a36-f9070dc5f9c9?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/prevent-direct-access/trunk/includes/repository.php#L221"},{"url":"https://plugins.trac.wordpress.org/browser/prevent-direct-access/tags/2.8.8.4/includes/repository.php#L221"},{"url":"https://plugins.trac.wordpress.org/browser/prevent-direct-access/trunk/download.php#L377"},{"url":"https://wordpress.org/plugins/prevent-direct-access/"},{"url":"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"},{"url":"https://plugins.trac.wordpress.org/changeset/3637499/prevent-direct-access/trunk/includes/repository.php"},{"url":"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"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285 Improper Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-08-13T05:29:19.702Z"},"credits":[{"lang":"en","type":"finder","value":"Lucas Montes (NiRoX)"}],"timeline":[{"time":"2026-03-09T14:37:56.000Z","lang":"en","value":"Vendor Notified"},{"time":"2026-08-12T17:04:24.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T13:46:11.280786Z","id":"CVE-2026-3835","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T13:46:55.932Z"}}]}}}