Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
davefx Membership & User Roles for WooCommerce (Automatic Role Changer)
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

WordPress 的 WooCommerce 插件“Membership & User Roles for WooCommerce (Automatic Role Changer)”在版本 20260828 及更早版本中存在权限提升漏洞。该漏洞源于 函数在无需验证的情况下,无条件地将存储在用户元数据缓存 中的每一个角色重新分配给用户,而未检查这些缓存中的角色是否仍被外部提供商有效分配。此外, 函数会将新的外部角色合并到缓存中,但从未移除已被撤销的角色,从而使上述问题成为永久性隐患。 这一漏洞使得拥有订阅者及以上权

CVSS 7.5 · High EPSS 0.34% · P26

Affected Version Matrix 1

VendorProduct Version RangeStatus
davefx Membership & User Roles for WooCommerce (Automatic Role Changer) ≤ 20260828 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104767

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Membership & User Roles for WooCommerce (Automatic Role Changer) <= 20260828 - Authenticated (Subscriber+) Privilege Escalation to Stale Foreign Role Cache
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
特权管理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
davefx Membership & User Roles for WooCommerce (Automatic Role Changer) 0 ~ 20260828 -

II. Public POCs for CVE-2026-104767

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104767

请登录查看更多情报信息。

Other References for CVE-2026-104767 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-104767

No comments yet


Leave a comment