---
title: "CVE-2026-104767: Membership & User Roles for WooCommerce - Privilege Escalation"
description: "Membership & User Roles for WooCommerce (Automatic Role Changer) plugin for WordPress <= 20260828 contains a privilege escalation caused by improper validation of cached foreign roles in maybe_add_role_to_user(), letting authenticated subscribers restore revoked Administrator roles, exploit requires Replace Roles mode enabled and prior legitimate Administrator role assignment."
url: https://panop.io/threat-heartbeat/CVE-2026-104767/
---

# CVE-2026-104767 Membership & User Roles for WooCommerce - Privilege Escalation

Membership & User Roles for WooCommerce (Automatic Role Changer) plugin for WordPress <= 20260828 contains a privilege escalation caused by improper validation of cached foreign roles in maybe\_add\_role\_to\_user(), letting authenticated subscribers restore revoked Administrator roles, exploit requires Replace Roles mode enabled and prior legitimate Administrator role assignment.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.34% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-104767)

## Details

Type

Privilege Escalation

Impact

Privilege Escalation

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Published

14 October 2026

Updated

15 October 2026

Weakness

[CWE-269](https://cwe.mitre.org/data/definitions/269.html)

## Vendor fix

Update to a version later than 20260828 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-104767](https://nvd.nist.gov/vuln/detail/CVE-2026-104767)
- [https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L351](https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L351)
- [https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L414](https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L414)
- [https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L427](https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L427)
- [https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L468](https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L468)
- [https://plugins.trac.wordpress.org/changeset?reponame=&old=3732550%40dfx-woo-role-changer&new=3732550%40dfx-woo-role-changer](https://plugins.trac.wordpress.org/changeset?reponame=&old=3732550%40dfx-woo-role-changer&new=3732550%40dfx-woo-role-changer)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/833d9f92-9af1-4332-9b1d-2d1d37073b4b?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/833d9f92-9af1-4332-9b1d-2d1d37073b4b?source=cve)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
