Skip to main content

CVE-2026-104767: CWE-269 Improper Privilege Management in davefx Membership & User Roles for WooCommerce (Automatic Role Changer)

0
High
VulnerabilityCVE-2026-104767cvecve-2026-104767cwe-269
Published: 10/14/2026 (10/14/2026, 01:27:14 UTC)
Source: CVE Database V5
Vendor/Project: davefx
Product: Membership & User Roles for WooCommerce (Automatic Role Changer)

Description

The Membership & User Roles for WooCommerce (Automatic Role Changer) WordPress plugin contains a privilege escalation vulnerability in versions up to and including 20260828. The vulnerability arises because the plugin's function unconditionally reassigns cached user roles without verifying if those roles are still valid, allowing an attacker with subscriber-level access or higher to regain a previously revoked Administrator role. Exploitation requires the Replace Roles mode to be enabled and that the attacker had legitimately held the Administrator role previously while the plugin was active. This flaw can lead to full administrative control of the affected WordPress site.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

davefx

Membership & User Roles for WooCommerce (Automatic Role Changer)

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 02:03:30 UTC

Technical Analysis

CVE-2026-104767 is a privilege escalation vulnerability in the Membership & User Roles for WooCommerce (Automatic Role Changer) plugin for WordPress, affecting versions up to and including 20260828. The vulnerability is due to the `maybe_add_role_to_user()` function, which reassigns every role stored in the `dfxwcrc_foreign_roles` user meta cache without verifying if each cached role is still actively assigned by the external provider. The cache is permanently merged with new foreign roles by `remember_foreign_roles()` but never removes revoked roles. This allows an authenticated user with subscriber-level access or above to restore a previously revoked Administrator role by triggering any role-assignment event, such as completing a purchase for a role-mapped product. Exploitation requires Replace Roles mode enabled and that the attacker’s account had previously received the Administrator role legitimately while the plugin was active, so that the Administrator role was cached before revocation.

Potential Impact

Successful exploitation allows an authenticated attacker with subscriber-level access or higher to regain full administrative privileges on the WordPress site, resulting in complete control over the site. This includes the ability to modify site content, settings, and user roles, potentially leading to site compromise, data theft, or persistent backdoors.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, it is recommended to disable Replace Roles mode if enabled and monitor role assignment events carefully. Restrict subscriber-level user capabilities and review user roles for any unexpected privilege escalations. Follow vendor advisories for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-10-02T12:46:50.279Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acedf962cdf04f656278ff6

Added to database: 10/14/2026, 01:49:10 UTC

Last enriched: 10/14/2026, 02:03:30 UTC

Last updated: 10/14/2026, 02:08:21 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses