LoginPress Pro <= 6.2.3 - Unauthenticated Authentication Bypass via Unverified OAuth Email via GitHub OAuth Callback

8.1
Improper Authentication
CVE CVE-2026-12597
CVSS 8.1 (High)
Publicly Published July 9, 2026
Last Updated July 9, 2026
Researcher Nguyen Ngoc Duc (duc193)

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.

Learn more about Authentication Bypass vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for LoginPress Pro

Software Type Plugin
Software Slug loginpress-pro
Patched? Yes
Remediation Update to version 6.2.4, or a newer patched version
Affected Version
  • <= 6.2.3
Patched Version
  • 6.2.4

Recent vulnerabilities in LoginPress Pro

# Title CVE ID CVSS Researchers Date
1 LoginPress Pro <= 6.2.3 - Unauthenticated Authentication Bypass via Unverified OAuth Email via Discord OAuth Callback CVE-2026-12595 8.1 Nguyen Ngoc Duc (duc193) July 9, 2026
2 LoginPress Pro <= 6.2.3 - Unauthenticated Authentication Bypass via Unverified OAuth Email in Spotify OAuth Callback CVE-2026-12598 8.1 Nguyen Ngoc Duc (duc193) July 9, 2026
3 LoginPress Pro <= 6.2.2 - Unauthenticated Privilege Escalation CVE-2026-49058 9.8 wackydawg June 8, 2026
4 LoginPress Pro <= 5.0.1 - Authentication Bypass via WordPress.com OAuth provider CVE-2025-7444 9.8 Foxyyy July 17, 2025
5 LoginPress Pro < 3.0 - Captcha Bypass CVE-2024-32676 5.3 Dave Jong April 17, 2024
6 LoginPress Pro < 3.0 - Missing Authorization to License Status Update CVE-2024-32677 5.3 Dave Jong April 17, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation