CVE-2026-6456
Last modified
CVE-2026-6456 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The Account Switcher plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.0.2. This is due to the `rememberLogin` REST API endpoint using a loose comparison (`!=` instead of `!==`) for secret validation at `app/RestAPI.php:111`, combined with no validation that the secret is non-empty. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
The Account Switcher plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.0.2. This is due to the `rememberLogin` REST API endpoint using a loose comparison (`!=` instead of `!==`) for secret validation at `app/RestAPI.php:111`, combined with no validation that the secret is non-empty. When a target user has never used the "Remember me" feature, their `asSecret` user meta does not exist, causing `get_user_meta()` to return an empty string. An attacker can send an empty `secret` parameter, which passes the comparison (`'' != ''` is `false`), and the endpoint then calls `wp_set_auth_cookie()` for the target user. Additionally, all REST routes use `permission_callback => '__return_true'` with no capability checks. This makes it possible for authenticated attackers, with Subscriber-level access and above, to switch to any user account including Administrator, ultimately granting themselves full administrative privileges.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-6456?
How severe is CVE-2026-6456?
How do I fix CVE-2026-6456?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64554In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64555In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64556In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64557In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64558In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64559In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64560In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64561In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64562In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64563In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64564In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64565In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-6456?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
