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

8.1
Improper Authentication
CVE CVE-2026-12595
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 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.

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 GitHub OAuth Callback CVE-2026-12597 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