CVE-2026-126712

Username Changer <= 3.3.1 - Unauthenticated Privilege Escalation to Stale site_admins Entry After Super Admin Rename

2026-12-01 21:50
Sawyer

Strategic Overview

Status
Patched in 3.3.2
Affected Plugin
Username Changer
Affected Version
<= 3.3.1
CVSS
6.8Medium
Weakness type
CWE-269 · Improper Privilege Management
CVE
CVE-2026-126712
View all Username Changer vulnerabilities

At a glance

CVE-2026-126712 is a medium-severity Improper Privilege Management vulnerability in the Username Changer WordPress plugin, affecting versions <= 3.3.1. It carries a CVSS score of 6.8 (reachable over the network; high confidentiality, integrity impact). Exploitation requires no authentication. The issue is fixed in version 3.3.2; sites on affected versions should update now. Disclosed December 2026, reported by Sawyer.

Vulnerability Overview

The Username Changer plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.3.1 The vulnerability exists because `username_changer_process()` overwrites the `user_login` column via a direct SQL `UPDATE` without first calling `revoke_super_admin()` on the old login, leaving the prior login name as a stale, unclaimed entry in the `site_admins` network option. Because WordPress core's `is_super_admin()` resolves Super Admin status by matching `user_login` against the `site_admins` array, any user whose login matches that orphaned entry is immediately granted full network administrator privileges. This makes it possible for unauthenticated attackers — on a WordPress multisite network with public user registration enabled — to register the released login name through the standard `/wp-signup.php` endpoint and inherit complete Super Admin access over the entire network, provided a Super Admin has voluntarily renamed their own account through the plugin.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, and no privileges on the target site. A successful exploit has high impact on confidentiality, integrity.

CWE-269: Improper Privilege Management

Username Changer <= 3.3.1 carries this weakness at username_changer_process(), and reaching it takes no account at all. Improper privilege management means the code lets an account end up with capabilities its role should not have.

It converts a low-privileged account into an administrative one, which makes every other restriction on the site irrelevant. For Username Changer the fix is 3.3.2: builds <= 3.3.1 are affected, anything from 3.3.2 onward is not.

Remediation

Update to version 3.3.2, or a newer patched version

How does WordSec protect against this?

This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Username Changer 3.3.2 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C