Back to CVE records
High 7.5Published Oct 14, 2026

CVE-2026-104767Membership & User Roles for WooCommerce (Automatic Role Changer) <= 20260828 - Authenticated (Subscriber+) Privilege Escalation to Stale Foreign Role Cache

Updated under an hour ago ()

Does this affect you?

It affects davefx Membership & User Roles for WooCommerce (Automatic Role Changer). Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.34%, higher than 26% of scored CVEs.

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.

CVSS
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-269
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.34% (percentile 26)
Assigned by
Wordfence
NVD analysis
Deferred
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 14, 2026

Affected products

Affected products
davefx Membership & User Roles for WooCommerce (Automatic Role Changer)
davefx:membership_and_user_roles_for_woocommerce_automatic_role_changer (from the name)
through 20260828
CNA record

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.