CVE-2026-104767
Last modified
CVE-2026-104767 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| davefx | Membership & User Roles for WooCommerce (Automatic Role Changer) | <= 20260828 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-104767?
How severe is CVE-2026-104767?
How do I fix CVE-2026-104767?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-104759The WPO365 | SEAMLESS WORDPRESS + MICROSOFT INTEGRATION (WPO…8.1
- CVE-2026-104761The Mang Board plugin for WordPress is vulnerable to Stored …6.4
- CVE-2026-104762The Kadence Blocks — Page Builder Toolkit for Gutenberg Edit…6.4
- CVE-2026-104763The Post Export Import with Media plugin for WordPress is vu…4.9
- CVE-2026-104764The Post Export Import with Media plugin for WordPress is vu…7.2
- CVE-2026-104766The Appointment Booking Plugin – LatePoint | Calendar & Sche…8.8
- CVE-2026-104769The Debloat – Remove Unused CSS, Optimize JS plugin for Word…5.9
- CVE-2026-104774OWASP Coraza WAF is a golang modsecurity compatible web appl…5.8
- CVE-2026-104795The insights-runtime-extractor runs as a privileged DaemonSe…8.8
- CVE-2026-104797The Advanced Form Integration — Connect Forms to 300+ Apps p…8.1
- CVE-2026-104798The My Calendar – Accessible Event Manager plugin for WordPr…9.8
- CVE-2026-1048A weakness has been identified in LigeroSmart up to 6.1.26. …5.4
Are you affected by CVE-2026-104767?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
