CVE-2026-107645 Blocksy Companion <= 2.1.58 - Unauthenticated Privilege Escalation to 'role' Parameter
Unauthenticated attackers can escalate privileges to vendor role and auto-authenticate by bypassing nonce checks in Blocksy Companion.
- 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-107645?
CVE-2026-107645 is a critical vulnerability in creativethemeshq Blocksy Companion, published on 10 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Blocksy Companion plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.1.58 This is due to the implement_user_registration() AJAX handler explicitly disabling Dokan's vendor-registration nonce check (via add_filter('dokan_register_nonce_check', '__return_false')) and then trusting an attacker-supplied $_POST['role'] value when invoking wc_create_new_customer() and wc_set_customer_auth_cookie(). This makes it possible for unauthenticated attackers to elevate their privileges to a Dokan 'seller' (vendor) account — including sites where the Dokan vendor signup is explicitly turned off — and to be auto-authenticated into that account, which grants publishing capabilities beyond those of a normal customer.
Weakness: CWE-269
Which versions are affected by CVE-2026-107645?
How do I fix CVE-2026-107645?
No fix has been published for CVE-2026-107645 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-107645 being exploited?
There is no known exploitation of CVE-2026-107645 in the wild and no public exploit code.
Sources
Also known as GHSA-w5h9-m5j6-5394.