CVE-2026-12597: CWE-287 Improper Authentication in LoginPress LoginPress Pro
The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via the GitHub OAuth callback in versions up to, and including, 6.2.3. The vulnerability exists in the loginpress_on_github_login() function, which blindly trusts the first element (profile[0]['email']) of the array returned by GitHub's /user/emails endpoint as an account-binding identifier without verifying that the email carries a verified === true status. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including administrators, by adding an unverified email address matching a local account to their GitHub profile and triggering the OAuth callback via a crafted code parameter — causing the plugin to call get_user_by('email', ...) and establish an authenticated session for the matched account. Practical exploitation is conditional on GitHub returning the attacker-added unverified email at index 0 of the /user/emails response, as GitHub typically prioritizes the primary verified address first; nonetheless, the absence of any email verification check in the plugin constitutes a fundamental authentication bypass flaw.
AI Analysis
Technical Summary
The vulnerability in LoginPress Pro (<=6.2.3) arises from the loginpress_on_github_login() function trusting the first email in GitHub's /user/emails API response without checking if the email is verified. An attacker can add an unverified email address to their GitHub profile that matches a WordPress user email and trigger the OAuth callback with a crafted code parameter. Because the plugin uses get_user_by('email', ...) on this unverified email, it establishes an authenticated session for that user, bypassing authentication controls. Exploitation depends on GitHub returning the attacker-controlled unverified email at index 0, which is not typical but possible. The flaw is a fundamental improper authentication (CWE-287) issue.
Potential Impact
Successful exploitation allows unauthenticated attackers to bypass authentication and log in as any WordPress user, including administrators. This leads to full compromise of the affected WordPress site, with confidentiality, integrity, and availability impacts rated high (CVSS 8.1).
Mitigation Recommendations
No official patch or fix has been confirmed at this time. Users should monitor the vendor's advisory for updates. Until a fix is available, avoid enabling GitHub OAuth login or restrict its use. Review OAuth configurations and consider disabling LoginPress Pro's GitHub login feature if possible. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-12597: CWE-287 Improper Authentication in LoginPress LoginPress Pro
Description
The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via the GitHub OAuth callback in versions up to, and including, 6.2.3. The vulnerability exists in the loginpress_on_github_login() function, which blindly trusts the first element (profile[0]['email']) of the array returned by GitHub's /user/emails endpoint as an account-binding identifier without verifying that the email carries a verified === true status. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including administrators, by adding an unverified email address matching a local account to their GitHub profile and triggering the OAuth callback via a crafted code parameter — causing the plugin to call get_user_by('email', ...) and establish an authenticated session for the matched account. Practical exploitation is conditional on GitHub returning the attacker-added unverified email at index 0 of the /user/emails response, as GitHub typically prioritizes the primary verified address first; nonetheless, the absence of any email verification check in the plugin constitutes a fundamental authentication bypass flaw.
CVSS v3.1
Score 8.1high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in LoginPress Pro (<=6.2.3) arises from the loginpress_on_github_login() function trusting the first email in GitHub's /user/emails API response without checking if the email is verified. An attacker can add an unverified email address to their GitHub profile that matches a WordPress user email and trigger the OAuth callback with a crafted code parameter. Because the plugin uses get_user_by('email', ...) on this unverified email, it establishes an authenticated session for that user, bypassing authentication controls. Exploitation depends on GitHub returning the attacker-controlled unverified email at index 0, which is not typical but possible. The flaw is a fundamental improper authentication (CWE-287) issue.
Potential Impact
Successful exploitation allows unauthenticated attackers to bypass authentication and log in as any WordPress user, including administrators. This leads to full compromise of the affected WordPress site, with confidentiality, integrity, and availability impacts rated high (CVSS 8.1).
Mitigation Recommendations
No official patch or fix has been confirmed at this time. Users should monitor the vendor's advisory for updates. Until a fix is available, avoid enabling GitHub OAuth login or restrict its use. Review OAuth configurations and consider disabling LoginPress Pro's GitHub login feature if possible. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-18T10:21:22.717Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a50333368715ace4344080e
Added to database: 07/09/2026, 23:48:03 UTC
Last enriched: 07/17/2026, 09:47:06 UTC
Last updated: 08/23/2026, 22:52:08 UTC
Views: 118
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.