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…

CVE-2026-5617: CWE-639 Authorization Bypass Through User-Controlled Key in royalnavneet Login as User – Switch User & WooCommerce Login as Customer

0
High
VulnerabilityCVE-2026-5617cvecve-2026-5617cwe-639
Published: Wed Apr 15 2026 (04/15/2026, 07:45:29 UTC)
Source: CVE Database V5
Vendor/Project: royalnavneet
Product: Login as User – Switch User & WooCommerce Login as Customer

Description

The Login as User plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.0.3. This is due to the handle_return_to_admin() function trusting a client-controlled cookie (oclaup_original_admin) to determine which user to authenticate as, without any server-side verification that the cookie value was legitimately set during an admin-initiated user switch. This makes it possible for authenticated attackers, with Subscriber-level access and above, to escalate their privileges to administrator by setting the oclaup_original_admin cookie to an administrator's user ID and triggering the "Return to Admin" functionality.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 11:15:08 UTC

Technical Analysis

The Login as User plugin for WordPress contains a privilege escalation vulnerability (CVE-2026-5617) due to improper authorization checks in the handle_return_to_admin() function. This function relies on a client-controlled cookie (oclaup_original_admin) to determine the user context for authentication without server-side validation that the cookie was legitimately set during an admin-initiated user switch. Consequently, an authenticated attacker with Subscriber-level or higher privileges can set this cookie to an administrator's user ID and escalate their privileges to administrator by using the 'Return to Admin' functionality. The vulnerability affects all versions up to and including 1.0.3. No patch or official remediation has been disclosed as of the published date.

Potential Impact

An attacker with authenticated access at Subscriber level or above can exploit this vulnerability to escalate privileges to administrator. This results in full control over the affected WordPress site, including the ability to modify content, install plugins, change configurations, and potentially compromise the entire site. The CVSS score of 8.8 reflects high impact on confidentiality, integrity, and availability of the system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to trusted users only and consider disabling or removing the vulnerable plugin to prevent exploitation.

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-05T15:42:32.653Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69df733482d89c981ff25cc6

Added to database: 4/15/2026, 11:15:00 AM

Last enriched: 4/15/2026, 11:15:08 AM

Last updated: 4/21/2026, 3:32:18 AM

Views: 37

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