CVE-2026-135626

7.5High

Published Nov 27, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-269

What an attacker gets

Authenticated attackers can escalate their account to full Administrator and take over the site. This requires the site owner to have lowered the plugin's 'Admin Dashboard Access Permission' setting.

Root cause

The plugin fails to validate the user-supplied role parameter against an allowlist, allowing arbitrary WordPress roles to be assigned to accounts.

Affected versions

Simple Membership plugin up to and including 4.9.0

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

Fix & remediation

Update to version 4.9.1 or later. Immediately revert the 'Admin Dashboard Access Permission' setting in the plugin to 'manage_options' if it was previously lowered.

remediation — bash
$ wp plugin update simple-membership

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

The Simple Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.9.0 This is due to the `SwpmLevelForm::role()` function applying only `sanitize_text_field()` to the user-supplied `role` parameter with no allowlist, permitting the `administrator` role to be stored verbatim into `swpm_membership_tbl` and subsequently applied to a member's WordPress account via `$user->add_role()` inside `update_wp_user_role()` — also without any role allowlist — when the `swpm_membership_level_changed` action fires. This makes it possible for authenticated attackers with Contributor-level access and above to create a membership level specifying the `administrator` WordPress role, assign themselves to that level, and thereby elevate their own WordPress account to full Administrator, gaining complete site control including the ability to install plugins, edit themes, and manage users. Exploitation requires that the site owner has lowered the plugin's "Admin Dashboard Access Permission" setting from its default `manage_options` capability to a lesser capability such as `edit_posts`, `edit_published_posts`, or `edit_pages`, which grants lower-privileged users access to the SWPM admin dashboard where the vulnerable level-creation form resides. Successful exploitation causes the attacker's own account to receive the complete administrator role.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-135626

More fully triaged vulnerabilities you may want to check next.