CVE-2026-126712: Username Changer <= 3.3.1 - Unauthenticated Privilege Escalation to Stale site_admins Entry After Super Admin Rename
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 usernamechangerprocess() overwrites the userlogin column via a direct SQL UPDATE without first calling revokesuperadmin() on the old login, leaving the prior login name as a stale, unclaimed entry in the siteadmins network option. Because WordPress core's issuperadmin() resolves Super Admin status by matching userlogin against the siteadmins 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.
Affected Software
Event History
Frequently Asked Questions
Which WordPress environments are exposed to exploitation?
Exposure requires a WordPress multisite network with public user registration enabled. A Super Admin must also have renamed their own account using the plugin, leaving the former login name unclaimed in the network's site_admins option.
What does an attacker need to do to gain elevated access?
An unauthenticated attacker must register the released former Super Admin login name through the standard /wp-signup.php registration endpoint. If that name remains in site_admins, WordPress resolves the newly registered account as a Super Admin with full network administrator privileges.
How can administrators identify whether their network may already be affected?
Review whether any Super Admin accounts were renamed through Username Changer and whether their prior user_login values remain as unclaimed entries in the site_admins network option. Networks without public user registration do not meet the described exploitation conditions.