Skip to main content
Vulnerability Database/CVE-2026-97332

CVE-2026-97332: WordPress User Private Files Auth Bypass

CVE-2026-97332 is an authentication bypass flaw in the User Private Files WordPress plugin that exposes private files on multisite installations. Unauthenticated users can access protected files directly. This post covers technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97332 Overview

CVE-2026-97332 is a broken access control vulnerability [CWE-284] in the User Private Files WordPress plugin before version 2.2.0. On WordPress multisite installations, the plugin fails to protect stored private files. The rewrite rule that routes file requests through the access check is never reached in multisite configurations. Unauthenticated attackers can retrieve other users' private files by requesting them directly.

Critical Impact

Unauthenticated remote attackers can download private files belonging to any user on affected multisite WordPress deployments, resulting in confidentiality loss.

Affected Products

  • User Private Files WordPress plugin versions before 2.2.0
  • WordPress multisite installations running the vulnerable plugin
  • Any site exposing uploaded private files through the plugin's storage path

Discovery Timeline

  • 2026-10-04 - CVE-2026-97332 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-97332

Vulnerability Analysis

The User Private Files plugin stores user-uploaded private files inside the WordPress uploads directory. It relies on a WordPress rewrite rule to intercept incoming file requests and route them through an access control handler. The handler validates that the requesting user owns the file or has permission to view it.

On multisite installations, the rewrite rule is never registered or matched for file requests. Requests for private files resolve directly to the static file on disk through the web server. The access check is bypassed entirely because the handler is never invoked.

The result is that any unauthenticated visitor who knows or guesses a file URL can retrieve private content belonging to other users. This exposes documents uploaded under the expectation of private, authenticated access.

Root Cause

The root cause is improper access control [CWE-284] combined with a security control that depends on an environment-specific routing feature. The plugin treats the rewrite rule as the sole enforcement mechanism. It does not re-validate access at the file retrieval layer or block direct URL access via web server rules. In multisite installations, the rewrite behavior differs from single-site installations, breaking the control.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends an HTTP GET request to the private file URL on a vulnerable multisite installation. The web server returns the file contents without consulting the plugin's access check. Attackers can enumerate upload paths, use leaked URLs, or guess predictable filenames to retrieve victim files.

See the WPScan Vulnerability Report for additional technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-97332

Indicators of Compromise

  • Unauthenticated HTTP GET requests to /wp-content/uploads/ paths associated with private file storage
  • Access log entries showing 200 responses for private file paths without a preceding authenticated session
  • Requests originating from unfamiliar IPs targeting predictable or enumerated filenames in the uploads directory

Detection Strategies

  • Review web server access logs for direct requests to private file storage paths that bypass the plugin's handler endpoint
  • Compare request patterns against expected authenticated download flows and flag anomalies
  • Deploy a web application firewall rule that inspects requests for the plugin's known private file directories and verifies session context

Monitoring Recommendations

  • Enable verbose access logging on multisite installations and forward logs to a centralized analytics platform
  • Alert on bursts of requests to the uploads directory from a single source IP, which may indicate enumeration
  • Track plugin version inventory across the WordPress estate and alert when User Private Files is detected below version 2.2.0

How to Mitigate CVE-2026-97332

Immediate Actions Required

  • Upgrade the User Private Files plugin to version 2.2.0 or later on all WordPress multisite installations
  • Audit the private file uploads directory for exposure and rotate or revoke sensitive documents that may have been accessed
  • Review web server access logs for prior unauthenticated access to private file paths

Patch Information

The vendor has released version 2.2.0 of the User Private Files plugin, which addresses the access control failure on multisite installations. Administrators should update through the WordPress plugin interface or by replacing the plugin files with the fixed release. Confirm the installed version equals or exceeds 2.2.0 after upgrading.

Workarounds

  • Add web server rules (Apache .htaccess or Nginx location blocks) that deny direct access to the plugin's private file storage directory
  • Temporarily disable the User Private Files plugin on multisite installations until the patch is applied
  • Move sensitive files out of the public uploads directory and serve them through an authenticated handler
bash
# Example Nginx rule blocking direct access to the private files directory
location ~* /wp-content/uploads/user-private-files/ {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.