PT-2026-113592
CVE-2026-104767
·
Published
2026-10-14
·
Updated
2026-10-14
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Membership & User Roles for WooCommerce (Automatic Role Changer) versions prior to 20260829
Description
An issue exists where the
maybe add role to user() function unconditionally re-assigns every role stored in the dfxwcrc foreign roles user meta cache without verifying if the roles are still active. This is exacerbated by the remember foreign roles() function, which merges new roles into the cache but fails to remove revoked ones. Authenticated users with subscriber-level access or higher can restore a previously revoked Administrator role to their account by triggering a role-assignment event, such as purchasing a role-mapped product. This allows the attacker to gain full administrative control of the site. Successful exploitation requires the Replace Roles mode to be enabled and the user to have previously held the Administrator role while the plugin was active.Recommendations
Update the plugin to a version newer than 20260828.
Disable Replace Roles mode as a temporary mitigation measure.
Found an issue in the description? Have something to add? Feel free to write us 👾