CVE-2026-85038 B2BKing < 5.2.40 - Unauthenticated B2B Group Assignment and Approval Bypass via Registration Role Selection
Unauthenticated users can bypass registration controls to assign themselves to restricted B2B groups and skip account approval in the B2BKing WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-85038?
CVE-2026-85038 is a medium-severity missing authorization vulnerability in Unknown B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More, published on 6 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More WordPress plugin before 5.2.40 does not verify that a role selected during registration is one actually offered on the registration form, allowing unauthenticated users to assign themselves to restricted B2B customer groups and to skip the manual account-approval workflow during self-registration.
Weakness: CWE-862
Which versions are affected by CVE-2026-85038?
How do I fix CVE-2026-85038?
No fix has been published for CVE-2026-85038 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-85038 being exploited?
There is no known exploitation of CVE-2026-85038 in the wild and no public exploit code.
Sources
Also known as GHSA-v8gg-42jm-2f6p.