Skip to content
Threat Feed
high advisory

CVE-2026-8761: Privilege Escalation in Dokan WordPress Plugin

An improper authorization flaw in the Dokan plugin for WordPress allows authenticated attackers with vendor-level access to escalate privileges to administrator via manipulation of the REST API.

The Dokan plugin for WordPress (versions 5.0.1 and earlier) is vulnerable to a severe privilege escalation vulnerability tracked as CVE-2026-8761. The issue originates in the CustomersController REST controller located at includes/REST/CustomersController.php. The plugin registers custom REST routes under the /dokan/v1/customers/ namespace by re-implementing WooCommerce customer CRUD functionality.

Critically, the implementation fails to perform an authorization check on the target user object, instead performing a flawed check on the requesting user's role. Consequently, any user with 'Vendor' or 'Seller' capabilities can interact with the API to read, update, or delete any arbitrary user within the WordPress database. An attacker can specifically target an administrator's record and modify the password parameter, resulting in a complete site takeover. This vulnerability poses an extreme risk for multi-vendor WordPress environments utilizing the Dokan plugin.

Impact

Successful exploitation results in full administrative control over the affected WordPress installation. Given the prevalence of Dokan in e-commerce deployments, this vulnerability facilitates unauthorized access to sensitive customer data, order history, and platform settings. If exploited, an attacker can modify administrative account credentials, inject malicious code, or exfiltrate databases associated with the site.

Recommendation

  • Immediately update the Dokan plugin to a version patched against CVE-2026-8761.
  • Audit WordPress user logs for unexpected modifications to administrative accounts.
  • Monitor REST API traffic for unauthorized PUT or DELETE requests targeting the /wp-json/dokan/v1/customers/ endpoint.
  • Restrict access to administrative dashboard functions and API endpoints to trusted IP ranges where feasible.

Immediate actions

Patch Dokan plugin to current version.

IT Operations 24h

Threat Hunt

Search web logs for PUT/DELETE requests to /wp-json/dokan/v1/customers/.

T1068 high high confidence hunt now

Data: Web server logs

Mitigations

Update Dokan plugin.

immediate IT Operations

CVE-2026-8761

Detection coverage 1

Detect CVE-2026-8761 Exploitation Attempt

high

Detects unauthorized attempts to modify user data via the Dokan REST API namespace associated with CVE-2026-8761.

sigma tactics: privilege-escalation techniques: T1068 sources: webserver

Detection queries are available on the platform. Get full rules →