CVE-2026-85038: B2BKing < 5.2.40 - Unauthenticated B2B Group Assignment and Approval Bypass via Registration Role Selection

Published Sep 6, 2026
·
Updated

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.

Affected Software

1 affected component
WordPress plugin B2BKing<5.2.40

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin to a version that resolves this vulnerability.

    Fixed in 5.2.40

Event History

Sep 6, 2026
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
Description

Frequently Asked Questions

1

Does exploitation require an existing account or administrative access?

No. An unauthenticated user can exploit the issue during self-registration by selecting a role that is not actually offered on the registration form.

2

What controls can be bypassed through this issue?

An attacker can assign their account to restricted B2B customer groups and bypass the manual account-approval workflow.

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