Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 69%

CVE-2026-6456: CWE-287 Improper Authentication in beycanpress Account Switcher

0
High
VulnerabilityCVE-2026-6456cvecve-2026-6456cwe-287
Published: 05/20/2026 (05/20/2026, 01:25:51 UTC)
Source: CVE Database V5
Vendor/Project: beycanpress
Product: Account Switcher

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 02:33:52 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 05/20/2026, 02:20:19 UTC

Last enriched: 05/20/2026, 02:33:52 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 61

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses