WordPressプラグイン「Membership & User Roles for WooCommerce (Automatic Role Changer)」に不適切な権限管理の脆弱性(CVE-2026-104767)
概要
WordPressプラグイン「Membership & User Roles for WooCommerce (Automatic Role Changer)」に不適切な権限管理の脆弱性が確認されました。
バージョン 20260828 以前に影響があります。
修正版 20261007 への更新が推奨されます。
脆弱性の基本情報
| 脆弱性ID |
CVE-2026-104767 WF-833d9f92-9af1-4332-9b1d-2d1d37073b4b |
|---|---|
| 脆弱性の種類 | 不適切な権限管理 |
| 危険度 | 高 |
| CVSSスコア |
7.5(CVSS v3.1) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 公開日 | 2026年10月13日 |
| 更新日 | 2026年10月14日 |
影響を受ける製品
| 製品 | 影響を受けるバージョン | 修正版 | 出典 |
|---|---|---|---|
| WordPressプラグイン「Membership & User Roles for WooCommerce (Automatic Role Changer)」 |
20260828 以前 | 20261007 | Wordfence Intelligence |
推奨対応
- WordPressプラグイン「Membership & User Roles for WooCommerce (Automatic Role Changer)」を修正版 20261007 またはそれ以降の公式最新版へ更新してください。
情報元の原文
Wordfence Intelligence
Membership & User Roles for WooCommerce (Automatic Role Changer) <= 20260828 - Authenticated (Subscriber+) Privilege Escalation to Stale Foreign Role Cache
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.
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.