CVE-2026-12224: Dokan Pro <= 5.0.4 - Authenticated (Vendor+) Privilege Escalation via update_capabilities REST Endpoint

Published Jul 1, 2026
·
Updated

The Dokan Pro plugin for WordPress is vulnerable to privilege escalation via updatecapabilities REST Endpoint in all versions up to, and including, 5.0.4. This is due to the updatecapabilities() REST handler accepting arbitrary capability strings from the request body and passing them directly to WPUser::addcap() with no allowlist validation, only verifying that the caller holds the dokandar capability. This makes it possible for authenticated attackers with a self-provisioned Vendor-level access and above, on sites with the Vendor Staff module enabled, to grant arbitrary WordPress capabilities, including administrator, to any vendorstaff account, leading to a full site takeover.

Affected Software

1 affected component
Dokan Dokan Pro<=5.0.4

Event History

Jul 1, 2026
CVE Published
via MITRE·06:51 AM
Data Sourced
via MITRE·06:51 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12224?

The severity of CVE-2026-12224 is high with a score of 8.8.

2

How do I fix CVE-2026-12224?

To mitigate CVE-2026-12224, upgrade the Dokan Pro plugin to version 5.0.5 or later.

3

What type of vulnerability is CVE-2026-12224?

CVE-2026-12224 is a privilege escalation vulnerability affecting the Dokan Pro plugin.

4

What versions of Dokan Pro are affected by CVE-2026-12224?

All versions of Dokan Pro up to and including 5.0.4 are affected by CVE-2026-12224.

5

How can attackers exploit CVE-2026-12224?

Attackers can exploit CVE-2026-12224 by sending arbitrary capability strings to the update_capabilities REST endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203