← Vulnerability feed

Vulnerability record · CVE-2026-12144 · published 29 July 2026

CVE-2026-12144: Improper privilege management vulnerability

The Wholesale for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.0.5. This is due to the `save_requests_meta()` function applying only `sanitize_text_field()` to the `user_role_set` POST parameter before passing it directly to `WP_User::add_role()`, with no allowlist validation against permitted wholesale roles and no capability check such as `current_user_can('promote_users')` or `current_user_can('manage_options')`. This makes it possible for authenticated attackers with author-level access and above to escalate their privileges to administrator by supplying `administrator` as the `user_role_set` value in a crafted request. The function is gated only by a nonce (`request_user_role_nonce`) that is rendered in the meta box on the `wwp_requests` post edit screen; because the post type is registered with `capability_type => 'post'`, any author-level user who has authored a `wwp_requests` post — such as one created via the wholesale registration form — can access this nonce and submit the role-assignment request.

8.8 CVSS 3.1 High EPSS 0.52% · top 57.9% CWE-269 · Improper privilege management Deferred
8.8CVSS 3.1 base score
0.52%EPSS exploitation probability, 30 days
NoNot in CISA KEV
0Affected product versions listed by NVD
5References
30 Jul 2026Last modified by NVD

Description

The Wholesale for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.0.5. This is due to the `save_requests_meta()` function applying only `sanitize_text_field()` to the `user_role_set` POST parameter before passing it directly to `WP_User::add_role()`, with no allowlist validation against permitted wholesale roles and no capability check such as `current_user_can('promote_users')` or `current_user_can('manage_options')`. This makes it possible for authenticated attackers with author-level access and above to escalate their privileges to administrator by supplying `administrator` as the `user_role_set` value in a crafted request. The function is gated only by a nonce (`request_user_role_nonce`) that is rendered in the meta box on the `wwp_requests` post edit screen; because the post type is registered with `capability_type => 'post'`, any author-level user who has authored a `wwp_requests` post — such as one created via the wholesale registration form — can access this nonce and submit the role-assignment request.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Track CVE-2026-12144 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2026-84869ScreenConnect client allows unauthorized file transfer and execution in remote sessionsA flaw in the ConnectWise ScreenConnect client lets files be transferred and executed inside an active remote session without authorization or Host c…KEVEPSS 0.92%analysed9.8CVE-2026-46817Oracle E-Business Suite Payments missing authentication allows takeoverOracle Payments in Oracle E-Business Suite 12.2.3 through 12.2.15 contains an easily exploitable flaw in the File Transmission component. An unauthen…KEVEPSS 0.81%analysed7.8CVE-2026-21533Windows Remote Desktop improper privilege management allows local elevationWindows Remote Desktop contains an improper privilege management flaw (CWE-269) that lets an authorized attacker elevate privileges locally. It affec…KEVEPSS 4.1%analysed5.1CVE-2024-8068Citrix Session Recording privilege escalation to NetworkServiceCitrix Session Recording contains an improper privilege management flaw (CWE-269) that lets an authenticated attacker escalate to the NetworkService …KEVEPSS 3.5%analysed9.8CVE-2024-49035Microsoft Partner Center improper access control allows privilege elevationPartner.Microsoft.com contains an improper access control flaw (CWE-269) that lets an unauthenticated attacker elevate privileges over the network. M…KEVEPSS 1.3%analysed8.8CVE-2013-0643Adobe Flash Player Firefox sandbox privilege escalationAdobe Flash Player's Firefox sandbox does not properly restrict privileges, allowing crafted SWF content to escape the sandbox and run code with high…KEVEPSS 11%analysed7.8CVE-2024-38014Windows Installer Elevation of Privilege FlawCVE-2024-38014 is an elevation of privilege vulnerability in the Windows Installer, classified as improper privilege management (CWE-269). It affects…KEVEPSS 6.3%analysed7.8CVE-2024-26169Windows Error Reporting Service privilege escalation flawCVE-2024-26169 is an improper privilege management vulnerability in the Windows Error Reporting Service, classified under CWE-269. A local attacker w…KEVEPSS 4.0%analysed

Source: NIST National Vulnerability Database (record CVE-2026-12144), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.