CVE-2026-8761
The Dokan plugin for WordPress is vulnerable to Privilege …
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 `manage_woocommerce` 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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/CustomersController
- plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/CustomersController
- plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/CustomersController
- plugins.trac.wordpress.org/browser/dokan-lite/tags/5.0.1/includes/REST/CustomersController
- plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/CustomersController.php#
- plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/CustomersController.php#
- plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/CustomersController.php#
- plugins.trac.wordpress.org/browser/dokan-lite/trunk/includes/REST/CustomersController.php#
- nvd.nist.gov/vuln/detail/CVE-2026-8761
- cve.org/CVERecord?id=CVE-2026-8761
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.