CVE-2026-5617

Login as User <= 1.0.3 - Authenticated (Subscriber+) Privilege Escalation via 'oclaup_original_admin' Cookie

8.8 high EPSS 0.54%

Published 15 Apr 2026 Updated 15 Apr 2026 CNA: Wordfence

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.

Severity (CVSS)

8.8 high CVSS 3.1 from Wordfence (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.54%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 39.2% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 15 Apr 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected products

As the CNA lists them.

ProductVersions
Login as User – Switch User & WooCommerce Login as Customer
affected up to and including 1.0.1
Other versions: unaffected

Is my server affected?

This CVE is in Login as User – Switch User & WooCommerce Login as Customer of royalnavneet, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2026-5617 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.