Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-5617

CVE-2026-5617: WordPress Login as User Privilege Escalation

CVE-2026-5617 is a privilege escalation vulnerability in the Login as User plugin for WordPress, allowing authenticated attackers to gain administrator access by manipulating cookies. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 17, 2026

CVE-2026-5617 Overview

The Login as User plugin for WordPress contains a critical privilege escalation vulnerability affecting all versions up to and including 1.0.3. The vulnerability exists in the handle_return_to_admin() function, which improperly trusts a client-controlled cookie (oclaup_original_admin) to determine user authentication without performing server-side verification. This insecure authorization bypass (CWE-639: Authorization Bypass Through User-Controlled Key) allows authenticated attackers with minimal privileges to escalate their access to administrator level.

Critical Impact

Authenticated users with Subscriber-level access or above can escalate their privileges to administrator by manipulating a client-side cookie, potentially leading to complete site compromise.

Affected Products

  • Login as User plugin for WordPress version 1.0.3 and earlier
  • One Click Login as User WordPress plugin (all versions through 1.0.3)
  • WordPress sites with the affected plugin installed and active

Discovery Timeline

  • April 15, 2026 - CVE-2026-5617 published to NVD
  • April 15, 2026 - Last updated in NVD database

Technical Details for CVE-2026-5617

Vulnerability Analysis

This privilege escalation vulnerability stems from a fundamental authorization bypass flaw in the plugin's user switching mechanism. The handle_return_to_admin() function is designed to allow administrators to impersonate other users and then return to their original administrator session. However, the function relies on a client-controlled cookie named oclaup_original_admin to identify which user account to authenticate back into, without performing any server-side validation to confirm the cookie was legitimately set during an authorized admin-initiated user switch.

The vulnerability is classified under CWE-639 (Authorization Bypass Through User-Controlled Key), which describes scenarios where an application uses user-controlled input to directly access objects or make authorization decisions without proper validation.

Root Cause

The root cause lies in the absence of server-side session tracking for the user switching operation. When an administrator legitimately switches to another user account, the plugin stores the original admin's user ID in a client-side cookie. However, since cookies can be freely manipulated by the client, any authenticated user can forge this cookie value to reference an administrator's user ID. The plugin fails to maintain a secure server-side record to verify that a legitimate switch operation occurred, allowing attackers to exploit the "Return to Admin" functionality to assume administrative privileges.

Attack Vector

The attack requires only low-privilege authenticated access (Subscriber-level or above) and can be executed remotely over the network without any user interaction. An attacker follows this exploitation path:

  1. The attacker obtains a valid Subscriber-level (or higher) account on the target WordPress site
  2. The attacker identifies or enumerates an administrator's user ID (commonly user ID 1)
  3. The attacker manually sets the oclaup_original_admin cookie to the target administrator's user ID
  4. The attacker triggers the "Return to Admin" functionality exposed by the plugin
  5. The handle_return_to_admin() function reads the forged cookie value and authenticates the attacker as the administrator
  6. The attacker now has full administrative access to the WordPress site

The vulnerable code can be examined in the WordPress Plugin Source Code at line 45 and line 50 of the class-login-handler.php file. For additional technical details, refer to the Wordfence Vulnerability Report.

Detection Methods for CVE-2026-5617

Indicators of Compromise

  • Unexpected administrator session creations from users who previously had Subscriber-level access
  • Presence of oclaup_original_admin cookies with administrator user IDs in web server logs from non-administrator users
  • User role changes in WordPress audit logs without corresponding admin panel activity
  • Suspicious plugin-triggered authentication events in security logs

Detection Strategies

  • Monitor WordPress authentication logs for privilege escalation patterns, particularly "Return to Admin" actions from non-admin user sessions
  • Implement file integrity monitoring on WordPress core and plugin directories to detect unauthorized changes following privilege escalation
  • Deploy web application firewall (WAF) rules to detect and alert on suspicious cookie manipulation attempts targeting oclaup_original_admin
  • Enable SentinelOne's application control and behavioral analysis to identify anomalous WordPress process activity

Monitoring Recommendations

  • Review WordPress user activity logs daily for unauthorized administrative actions
  • Configure alerts for new administrator account creation or existing account privilege modifications
  • Monitor HTTP request logs for unusual patterns accessing the "Return to Admin" endpoint with suspicious cookie values
  • Implement centralized logging with SentinelOne Singularity Data Lake to correlate WordPress security events across your environment

How to Mitigate CVE-2026-5617

Immediate Actions Required

  • Immediately deactivate and remove the Login as User plugin (One Click Login as User) from all WordPress installations
  • Audit all user accounts for unauthorized privilege escalations and demote any suspicious administrator accounts
  • Force password resets for all administrator accounts as a precautionary measure
  • Review WordPress audit logs for evidence of exploitation and investigate any suspicious activity

Patch Information

As of the published date, no patched version of the Login as User plugin has been released to address CVE-2026-5617. The vulnerability affects version 1.0.3 and all prior versions. Organizations should monitor the WordPress Plugin Directory for security updates. Until a patch is available, complete removal of the plugin is the recommended remediation.

Workarounds

  • Remove the Login as User plugin entirely until a security patch is released by the vendor
  • Implement strict access controls limiting who can register for accounts on WordPress sites where complete plugin removal is not immediately feasible
  • Deploy a Web Application Firewall (WAF) rule to block requests containing the oclaup_original_admin cookie from non-administrator sessions
  • Consider alternative user switching plugins that implement proper server-side session validation
bash
# WordPress CLI commands to identify and remove the vulnerable plugin
# List installed plugins and check for the vulnerable plugin
wp plugin list --status=active | grep -i "login-as-user\|one-click-login"

# Deactivate the vulnerable plugin
wp plugin deactivate one-click-login-as-user

# Remove the vulnerable plugin completely
wp plugin delete one-click-login-as-user

# Audit current user roles for unauthorized administrators
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-639
  • Technical References
  • WordPress Plugin Source Code

  • WordPress Plugin Source Code

  • WordPress Plugin Source Code

  • WordPress Plugin Overview

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-3614: AcyMailing Privilege Escalation Vulnerability

  • CVE-2026-3596: WordPress Riaxe Privilege Escalation Flaw

  • CVE-2026-1509: Avada Builder Privilege Escalation Flaw

  • CVE-2025-7665: WordPress OTP Verification Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English