CVE-2026-15240 in a WordPress customer-switching plugin allows a low-privilege user to escalate to full administrator control by exploiting how session tokens inherit elevated privileges during operator context switches. When a support operator switches into a customer account to troubleshoot, the target session retains a backdoor to the operator's elevated privileges—effectively conflating 'viewing-as' (display-only context) with 'acting-as' (full operational authority). This is not a missing input validation check; it's a design flaw in how the session layer binds operator credentials to switched-user tokens.
The vulnerability is exploitable when an operator has switched into the attacker's account. The attacker then triggers the privilege inheritance path to inherit the operator's session context, bypassing normal access controls. The CVSS 7.5 undersells the impact—the result is full account takeover from a low-privilege foothold—but reflects that the attack requires a specific switching sequence rather than being remotely triggerable.
Your immediate actions: apply version 2.1.3 if available, but understand that this likely patches the specific escalation vector rather than refactoring the session binding model. Check your access logs for any switching sessions where privilege escalation occurred—if you lack session-layer telemetry, assume compromise and rotate credentials for all operator accounts that used the switching feature. The patch likely adds a targeted check to the switching endpoint rather than redesigning how operator context persists across sessions, so monitor for structurally identical bypasses in future plugin updates.
The deeper concern: this flaw mirrors historical patterns in SSH agent forwarding, sudo credential caching, and OAuth scope inheritance—wherever systems cache upstream credentials in downstream contexts for ergonomic reasons. WordPress lacks a native 'switch-to' abstraction, so plugins independently engineer workarounds that repeatedly reproduce this same vulnerability class. Treat CVE-2026-15240 as a canonical instance of a recurring architectural weakness, not a one-off bug.