Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2493+ Articles
160+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-16576: Dokan WooCommerce Plugin Privilege Escalation to RCE
CVE-2026-16576: Dokan WooCommerce Plugin Privilege Escalation to RCE
SECURITYHIGHCVE-2026-16576

CVE-2026-16576: Dokan WooCommerce Plugin Privilege Escalation to RCE

A missing capability check in the Dokan multivendor WooCommerce plugin allows Shop Managers to install arbitrary plugins, leading to full site compromise.

Dylan H.

Security Team

August 21, 2026
5 min read

Affected Products

  • Dokan WooCommerce Multivendor Marketplace < 5.0.14
  • WooCommerce sites with third-party vendor accounts

Executive Summary

CVE-2026-16576 is a privilege escalation vulnerability in Dokan: AI Powered WooCommerce Multivendor Marketplace Solution, one of the most widely deployed multi-vendor marketplace plugins for WooCommerce. The flaw stems from an improper capability check on admin-level REST API endpoints, allowing authenticated users with Shop Manager privileges to install and activate arbitrary WordPress plugins — effectively enabling Remote Code Execution on the WordPress host.

The vulnerability is patched in Dokan 5.0.14. All prior versions are affected.


Vulnerability Overview

Root Cause

The plugin registers several admin REST API routes intended for site administrator use only. However, the middleware guarding these routes checks only for the shop_manager capability level rather than the higher administrator capability. In multi-vendor marketplace deployments, Shop Manager accounts are commonly granted to third-party sellers who are not trusted administrators.

This incorrect capability check (CWE-285: Improper Authorization) means any Shop Manager can call admin-only REST endpoints without restriction.

Attack Chain

1. Attacker registers or compromises a Shop Manager account
   (common in multi-vendor marketplaces with open vendor registration)
2. Sends crafted REST API request to the /dokan/v1/admin/* endpoint
3. Plugin skips administrator capability check — authorizes Shop Manager
4. Attacker POSTs a request to install a malicious plugin from a controlled URL
5. WordPress downloads and activates the malicious plugin
6. Arbitrary PHP code executes with web server privileges
7. Full WordPress site compromise achieved

Severity Assessment

AttributeValue
CVSS Base Score~7.x (High)
Attack VectorNetwork
Authentication RequiredYes (Shop Manager role)
Privileges RequiredLow (Shop Manager)
User InteractionNone
ImpactFull site compromise via plugin installation

While the vulnerability requires an authenticated account, the multi-vendor marketplace model means Shop Manager credentials are routinely issued to external, untrusted parties — effectively reducing the real-world exploitation barrier considerably.


Technical Details

Affected Endpoint

The improper capability check applies to admin REST routes registered under the /dokan/v1/admin/ namespace. Plugin management endpoints within this namespace were gatekept with manage_woocommerce (Shop Manager) instead of the required manage_options (Administrator) capability.

Affected Versions

Version RangeAffectedFixed Version
All versions prior to 5.0.14Yes5.0.14
5.0.14 and aboveNo—

Why Plugin Installation Equals Code Execution

WordPress plugins are arbitrary PHP code. When WordPress activates a plugin, that code runs in the context of the web server process. A malicious plugin can:

  • Open a reverse shell connection to an attacker-controlled server
  • Create new administrator accounts
  • Modify the database, including injecting malicious content
  • Steal all stored credentials, API keys, and customer data
  • Leverage the server for lateral movement to adjacent systems

This is equivalent to unauthenticated RCE in any environment where Shop Manager accounts are issued to untrusted third parties.


Identifying Affected Installations

Detection Approach

# Check currently installed Dokan version via WP-CLI
wp plugin list --name=dokan-lite --fields=name,version,status
 
# Check REST API capability registrations (advanced — requires file access)
grep -r "shop_manager\|manage_woocommerce" \
  wp-content/plugins/dokan-lite/includes/REST/ --include="*.php"
 
# Review recent plugin installs (potential post-exploitation indicator)
wp plugin list --fields=name,version,status,update

Risk Indicators

IndicatorRisk
Open vendor registration enabledCritical
Shop Manager accounts granted to external sellersCritical
Plugin version < 5.0.14Vulnerable
Unexpected plugins installed recentlyMay indicate compromise

Remediation

Immediate Actions

  1. Update Dokan to 5.0.14 or later — the fix correctly gates admin REST routes behind manage_options.
# Update via WP-CLI
wp plugin update dokan-lite
  1. Review recently installed plugins for unexpected or malicious entries.

  2. Audit Shop Manager accounts — revoke any suspicious or unrecognized accounts.

  3. Review REST API logs for unusual calls to /dokan/v1/admin/ endpoints, particularly from non-administrator accounts.

Compensating Controls (If Immediate Update Is Not Possible)

  • Restrict the WordPress REST API at the web server layer to trusted IP ranges
  • Temporarily disable new vendor registration
  • Monitor all plugin install/activation events via a security plugin or WAF

Detection Rules

SIEM / WAF Query

# Detect unusual REST calls to Dokan admin endpoints from low-priv accounts
uri_path CONTAINS "/dokan/v1/admin/" AND user_role IN ("shop_manager", "vendor")

# Detect new plugin activations
event.action = "plugin_activation" AND actor.role != "administrator"

WordPress Audit Log (Wordfence / Sucuri)

Monitor for:

  • Plugin installation events from non-administrator accounts
  • REST API calls to /wp-json/dokan/v1/admin/* by vendor or shop manager users
  • POST requests to /wp-json/wp/v2/plugins from non-admin sessions

References

  • NVD — CVE-2026-16576
  • Dokan Changelog — v5.0.14
  • WordPress Plugin Capability Checks Best Practices

Related Reading

  • BeyondTrust Remote Support Pre-Authentication RCE
  • Apache Struts Critical RCE via OGNL Injection Returns
#CVE#WordPress#WooCommerce#Privilege Escalation#Plugin Security#NVD

Related Articles

CVE-2026-15414: WooCommerce Subscriptions Plugin Privilege Escalation (CVSS 8.8)

A high-severity privilege escalation vulnerability in the Subscriptions for WooCommerce plugin allows authenticated users to elevate their role to administrator by manipulating membership plan metadata.

3 min read

CVE-2026-12073: ProfileGrid WordPress Plugin Critical Privilege Escalation

A critical CVSS 9.8 vulnerability in the ProfileGrid WordPress plugin allows unauthenticated attackers to take over any user account and escalate...

3 min read

CVE-2026-9851: WordPress Booking Package Plugin Privilege Escalation via Account Takeover

A high-severity privilege escalation vulnerability in the Booking Package WordPress plugin allows unauthenticated or low-privileged attackers to take over…

2 min read
Back to all Security Alerts