{"schema":"threatline.record/2","record":{"id":"CVE-2026-104767","aliases":[],"summary":"Membership & User Roles for WooCommerce (Automatic Role Changer) <= 20260828 - Authenticated (Subscriber+) Privilege Escalation to Stale Foreign Role Cache","details":"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.","categories":["Unclassified"],"product":"Membership & User Roles for WooCommerce (Automatic Role Changer)","vendor":"davefx","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104767","source_modified_at":"2026-10-15T16:43:51.168Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"Membership & User Roles for WooCommerce (Automatic Role Changer)","vendor":"davefx","versions":[{"version":"0","status":"affected","lessThanOrEqual":"20260828","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00345,"percentile":0.26882,"score_date":"2026-10-23"},"published_at":"2026-10-14T01:27:14.736Z","modified_at":"2026-10-15T16:43:51.168Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-104767","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T16:43:51.168Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-104767","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/833d9f92-9af1-4332-9b1d-2d1d37073b4b?source=cve"},{"source":"CVE List","url":"https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L468"},{"source":"CVE List","url":"https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L427"},{"source":"CVE List","url":"https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L414"},{"source":"CVE List","url":"https://plugins.trac.wordpress.org/browser/dfx-woo-role-changer/trunk/dfx-woo-role-changer.php#L351"},{"source":"CVE List","url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3732550%40dfx-woo-role-changer&new=3732550%40dfx-woo-role-changer"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-15T10:52:56.368683Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T16:43:51.168Z","content_hash":"3a2ba9855b2b94443d2031050a6a8e90ce46c657cf21b278ef5d7421ce8fef41"}}
