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…
EPSS 0.4%top 64%

CVE-2026-12597: CWE-287 Improper Authentication in LoginPress LoginPress Pro

0
High
VulnerabilityCVE-2026-12597cvecve-2026-12597cwe-287
Published: 07/09/2026 (07/09/2026, 23:30:08 UTC)
Source: CVE Database V5
Vendor/Project: LoginPress
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<=6.2.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/17/2026, 09:47:06 UTC

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.

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-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/22/2026, 10:52:07 UTC

Views: 117

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