Skip to content
EXYS
Back to the CVEs

CVE-2026-104767

7.5, high

Davefx Membership & User Roles for WooCommerce (Automatic Role Changer) Improper Privilege Management Vulnerability

CVSS
7.5, high high CVSS v3.1
EPSS, next 30 days
0.3% higher than 26.4% of scored CVEs
Exploitation
No public evidence
Published
14 Oct 20263 days ago

Description

The Membership & User Roles for WooCommerce (Automatic Role Changer) plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 20260828. This is due to the `maybe_add_role_to_user()` function unconditionally re-assigning every role stored in the `dfxwcrc_foreign_roles` user meta cache without verifying that each cached role is still actively assigned by the external provider, a condition made permanent by `remember_foreign_roles()`, which merges new foreign roles into the cache but never evicts roles that have since been revoked. This makes it possible for authenticated attackers with subscriber-level access and above to restore a previously revoked Administrator role to their own account, gaining full administrative control of the site, by triggering any role-assignment event such as completing a purchase for a role-mapped product. Exploitation requires Replace Roles mode to be enabled and the attacker's account to have previously received Administrator legitimately through a separate role-management mechanism while the plugin was active, so that `administrator` was written into the `dfxwcrc_foreign_roles` user meta cache before the external provider revoked it.

Details

Vendor
Davefx
Product
Membership & User Roles for WooCommerce (Automatic Role Changer)
Weakness
CWE-269 (opens in a new tab)
Status
Deferred
Updated
14 Oct 2026
Assigner
security@wordfence.com

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

References 6

The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.

Beyond this page

Is CVE-2026-104767 in your network?

This page tells you how dangerous CVE-2026-104767 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.

  • EXYS7600 OCELOT

    Find it before attackers do

    Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-104767 comes with the devices to patch.

    Learn more about EXYS7600 OCELOT
  • EXYS7950 KONDRA

    Detect it if it's exploited

    Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.

    Learn more about EXYS7950 KONDRA
Check your exposure

Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.