CVE-2026-16285
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-16285 is an unauthenticated arbitrary media download vulnerability in the Product Attachment for WooCommerce WordPress plugin (by theDotstore), classified as a Missing Authorization flaw (CWE-862). The plugin fails to perform any authorization check before streaming media library files, enabling unauthenticated users to download any attachment — including private or unlinked uploads — by enumerating its numeric ID. All versions before 2.3.3 are affected. The vulnerability was publicly disclosed on 2026-07-21 and assigned a CVSS score of 5.3 (Medium) (WPScan, Github Advisory).

Technical details

The root cause is a missing authorization check (CWE-862 / OWASP A5: Broken Access Control) in the plugin's file-streaming functionality. When a request is made to download an attachment, the plugin streams the media library file directly without verifying whether the requesting user has permission to access it. An attacker can exploit this by supplying sequential or guessed numeric attachment IDs in the request, effectively enumerating the WordPress media library and downloading any file stored there — including those intentionally kept private or not linked from any public page. No authentication or special privileges are required (WPScan).

Impact

Successful exploitation results in unauthorized disclosure of files stored in the WordPress media library, including private documents, unlinked uploads, and any sensitive attachments managed through the WooCommerce product attachment plugin. An unauthenticated remote attacker can systematically enumerate numeric attachment IDs to download all accessible files, potentially exposing confidential business documents, customer data, invoices, or other sensitive materials. There is no direct integrity or availability impact, but the confidentiality breach could facilitate further attacks or regulatory compliance violations (WPScan, Github Advisory).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the "Product Attachment for WooCommerce" plugin (woo-product-attachment) in a version prior to 2.3.3 using tools like WPScan, Shodan, or by inspecting plugin directories on publicly accessible sites.
  2. Identify the vulnerable endpoint: Locate the plugin's file-streaming endpoint, which handles attachment download requests without authorization checks (typically a URL parameter or AJAX action exposed by the plugin).
  3. Enumerate attachment IDs: Send unauthenticated HTTP GET requests to the vulnerable endpoint, incrementing the numeric attachment ID parameter (e.g., ?attachment_id=1, ?attachment_id=2, etc.) to enumerate all media library files.
  4. Download private files: For each valid ID that returns a file, download the attachment — including files that are private, password-protected, or not linked from any public page — directly to the attacker's system.
  5. Exfiltrate sensitive data: Review downloaded files for sensitive business or customer information that can be leveraged for further attacks, extortion, or compliance violations (WPScan).

Indicators of compromise

  • Network: High volume of unauthenticated HTTP GET requests to the plugin's file-streaming endpoint with sequentially incrementing numeric ID parameters; requests originating from a single IP or small IP range in rapid succession.
  • Logs: WordPress or web server access logs showing repeated requests to the plugin's download/stream endpoint (e.g., paths associated with woo-product-attachment) from unauthenticated sessions; HTTP 200 responses for attachment IDs that are not publicly linked.
  • File System: No direct file system artifacts expected on the server, as the attack is read-only; however, review web server logs for bulk file access patterns.
  • Application Logs: Absence of authentication tokens or nonces in requests to the attachment streaming endpoint, combined with successful file delivery responses (WPScan).

Mitigation and workarounds

The vendor (theDotstore) has released a patched version: Product Attachment for WooCommerce 2.3.3. All site administrators running any version prior to 2.3.3 should update immediately via the WordPress plugin dashboard. As a temporary workaround until patching is possible, implement network-level or WAF-based access controls to restrict unauthenticated access to the plugin's file-streaming endpoints. Additionally, audit the WordPress media library for sensitive files that may have been exposed and consider relocating critical documents outside the web root (WPScan, Github Advisory).

Community reactions

The vulnerability was discovered and reported by researcher kevin (@OPCIA) and verified by WPScan. WPScan has followed a responsible disclosure timeline, withholding the full proof-of-concept until 2026-08-04 to allow site administrators time to apply the patch. No significant broader media coverage or notable community commentary beyond standard vulnerability database aggregation has been observed at this time (WPScan).

Additional resources

  • WPScan — Official WPScan vulnerability entry with classification, timeline, and PoC details
  • Github Advisory — GitHub Security Advisory (GHSA-953r-r7wf-54g9)

SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-12231MEDIUM6.4
  • exclusive-addons-for-elementor
NoYesAug 02, 2026
CVE-2026-16540NONEN/A
  • simply-schedule-appointments
NoYesAug 02, 2026
CVE-2026-16292NONEN/A
  • nmedia-user-file-uploader
NoNoAug 02, 2026
CVE-2026-16291NONEN/A
  • profilegrid-user-profiles-groups-and-communities
NoYesAug 02, 2026
CVE-2026-16285NONEN/A
  • woo-product-attachment
NoYesAug 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management