CVE-2026-6456: CWE-287 Improper Authentication in beycanpress Account Switcher
The Account Switcher plugin for WordPress (versions up to 1. 0. 2) contains an improper authentication vulnerability that allows privilege escalation. The vulnerability arises from a REST API endpoint that uses a loose comparison for secret validation and does not verify that the secret is non-empty. This flaw enables authenticated users with Subscriber-level access or higher to switch to any user account, including Administrator accounts, thereby gaining full administrative privileges.
AI Analysis
Technical Summary
CVE-2026-6456 is an improper authentication vulnerability (CWE-287) in the beycanpress Account Switcher WordPress plugin. The issue is due to the `rememberLogin` REST API endpoint using a loose comparison (`!=` instead of `!==`) for validating a secret token, combined with no check that the secret is non-empty. When a user has never used the "Remember me" feature, their secret is empty, allowing an attacker to bypass validation by sending an empty secret parameter. Additionally, all REST routes in the plugin use `permission_callback => '__return_true'` without capability checks, enabling any authenticated user with Subscriber or higher privileges to switch to any account, including administrators, effectively escalating their privileges.
Potential Impact
An attacker with authenticated access at Subscriber level or above can exploit this vulnerability to impersonate any user, including administrators. This results in full administrative control over the WordPress site, allowing complete compromise of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch is currently available from the vendor. Until a patch is released, it is recommended to disable or remove the Account Switcher plugin to prevent exploitation. Monitor the vendor advisory for updates and apply any official fixes promptly once available.
CVE-2026-6456: CWE-287 Improper Authentication in beycanpress Account Switcher
Description
The Account Switcher plugin for WordPress (versions up to 1. 0. 2) contains an improper authentication vulnerability that allows privilege escalation. The vulnerability arises from a REST API endpoint that uses a loose comparison for secret validation and does not verify that the secret is non-empty. This flaw enables authenticated users with Subscriber-level access or higher to switch to any user account, including Administrator accounts, thereby gaining full administrative privileges.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6456 is an improper authentication vulnerability (CWE-287) in the beycanpress Account Switcher WordPress plugin. The issue is due to the `rememberLogin` REST API endpoint using a loose comparison (`!=` instead of `!==`) for validating a secret token, combined with no check that the secret is non-empty. When a user has never used the "Remember me" feature, their secret is empty, allowing an attacker to bypass validation by sending an empty secret parameter. Additionally, all REST routes in the plugin use `permission_callback => '__return_true'` without capability checks, enabling any authenticated user with Subscriber or higher privileges to switch to any account, including administrators, effectively escalating their privileges.
Potential Impact
An attacker with authenticated access at Subscriber level or above can exploit this vulnerability to impersonate any user, including administrators. This results in full administrative control over the WordPress site, allowing complete compromise of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch is currently available from the vendor. Until a patch is released, it is recommended to disable or remove the Account Switcher plugin to prevent exploitation. Monitor the vendor advisory for updates and apply any official fixes promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-16T20:55:00.814Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d1a63ba1db473621f7e09
Added to database: 5/20/2026, 2:20:19 AM
Last enriched: 5/20/2026, 2:33:52 AM
Last updated: 5/20/2026, 1:32:51 PM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.