CVE-2026-12595: CWE-287 Improper Authentication in LoginPress LoginPress Pro
The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via Unverified OAuth Email in all versions up to and including 6.2.3. The vulnerability exists in the loginpress_on_discord_login() Discord OAuth callback handler, which accepts the email field returned by Discord's /users/@me endpoint without ever checking that the profile's verified flag is true, then directly maps that email to a local WordPress account via get_user_by('email', $profile['email']) and issues an authenticated session cookie via wp_set_auth_cookie(). This makes it possible for unauthenticated attackers to take over any existing WordPress account — including administrator accounts — by registering a Discord account configured with an unverified email address that matches the target user's registered WordPress email and completing the standard Discord OAuth flow.
AI Analysis
Technical Summary
CVE-2026-12595 is an authentication bypass vulnerability in LoginPress Pro for WordPress (<=6.2.3). The vulnerability arises because the loginpress_on_discord_login() function does not verify the 'verified' flag on the email returned by Discord's /users/@me endpoint. It directly uses the unverified email to find a local WordPress user and issues an authenticated session cookie. Consequently, an attacker can impersonate any WordPress user by creating a Discord account with an unverified email matching the target's registered email and completing the OAuth login process.
Potential Impact
Successful exploitation allows unauthenticated attackers to bypass authentication and gain access to any WordPress user account, including administrator accounts. This leads to full compromise of the affected WordPress site, with potential for data theft, site defacement, or further malicious activity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to disable Discord OAuth login functionality in LoginPress Pro or avoid using it. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-12595: CWE-287 Improper Authentication in LoginPress LoginPress Pro
Description
The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via Unverified OAuth Email in all versions up to and including 6.2.3. The vulnerability exists in the loginpress_on_discord_login() Discord OAuth callback handler, which accepts the email field returned by Discord's /users/@me endpoint without ever checking that the profile's verified flag is true, then directly maps that email to a local WordPress account via get_user_by('email', $profile['email']) and issues an authenticated session cookie via wp_set_auth_cookie(). This makes it possible for unauthenticated attackers to take over any existing WordPress account — including administrator accounts — by registering a Discord account configured with an unverified email address that matches the target user's registered WordPress email and completing the standard Discord OAuth flow.
CVSS v3.1
Score 8.1high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12595 is an authentication bypass vulnerability in LoginPress Pro for WordPress (<=6.2.3). The vulnerability arises because the loginpress_on_discord_login() function does not verify the 'verified' flag on the email returned by Discord's /users/@me endpoint. It directly uses the unverified email to find a local WordPress user and issues an authenticated session cookie. Consequently, an attacker can impersonate any WordPress user by creating a Discord account with an unverified email matching the target's registered email and completing the OAuth login process.
Potential Impact
Successful exploitation allows unauthenticated attackers to bypass authentication and gain access to any WordPress user account, including administrator accounts. This leads to full compromise of the affected WordPress site, with potential for data theft, site defacement, or further malicious activity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to disable Discord OAuth login functionality in LoginPress Pro or avoid using it. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-18T10:15:01.785Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a50333368715ace4344080a
Added to database: 07/09/2026, 23:48:03 UTC
Last enriched: 07/17/2026, 09:51:26 UTC
Last updated: 08/23/2026, 10:52:06 UTC
Views: 119
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.