CVE-2026-8761: Dokan <= 5.0.2 - Missing Authorization to Authenticated (Vendor+) Privilege Escalation
The Dokan plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 5.0.1. This is due to a missing authorization check in the CustomersController REST controller (includes/REST/CustomersController.php), which re-registers WooCommerce's customer CRUD routes under the /dokan/v1/customers/ namespace and replaces WooCommerce's native managewoocommerce capability check with a vendor-only check that inspects the requesting user's role and never validates the target user. This makes it possible for authenticated attackers with Vendor/Seller-level access and above to read, modify, or delete any WordPress user — including administrators — via GET/PUT/DELETE requests against /wp-json/dokan/v1/customers/{id}. Setting the password parameter on an administrator's record yields a full site takeover.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
dokanto a version that resolves this vulnerability.Fixed in 5.0.2 - Compensating control
Restrict access to the Dokan Customers REST API endpoint (/wp-json/dokan/v1/customers/{id}) so only trusted, authorized administrators can call GET/PUT/DELETE operations.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-8761?
CVE-2026-8761 has a severity rating of high, with a score of 8.8.
How do I fix CVE-2026-8761?
To fix CVE-2026-8761, update the Dokan plugin to version 5.0.2 or later.
What type of vulnerability is CVE-2026-8761?
CVE-2026-8761 is a privilege escalation vulnerability due to a missing authorization check.
Which versions of Dokan are affected by CVE-2026-8761?
All versions of the Dokan plugin for WordPress up to and including 5.0.1 are affected by CVE-2026-8761.
What component of Dokan is impacted by CVE-2026-8761?
CVE-2026-8761 impacts the CustomersController REST controller in the Dokan plugin.