CVE-2026-92161
Deferred Deferred - Pending Action

Discord OAuth Email Verification Bypass in FriendsOfFlarum

Vulnerability report for CVE-2026-92161, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-29

Assigner: GitHub, Inc.

Description

FriendsOfFlarum OAuth allows users to log in to Flarum with GitHub, Twitter, Facebook, and other providers. Prior to 1.7.4 and 2.0.0-beta.4, the Discord OAuth provider does not check the verified field returned for an OAuth email before passing the address to Flarum core as trusted through provideTrustedEmail(). When Discord sign-in is enabled, an unauthenticated attacker who knows the email address of a Flarum user can configure a Discord account with that unverified address and a verified phone number, then sign in to cause Flarum to match the trusted address, link the attacker-controlled Discord identity to the existing user, and authenticate as the victim without a password or victim interaction. Exploitation requires that the victim's email address is not already associated with a Discord account, and it can compromise administrator accounts. Other bundled providers were not confirmed to be practically exploitable by this method because their relevant authentication flows return only verified or confirmed email addresses. This issue is fixed in versions 1.7.4 and 2.0.0-beta.4.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-29
Generated
2026-10-16
AI Q&A
2026-09-25
EPSS Evaluated
2026-10-14
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
friendsofflarum oauth to 1.7.4 (inc)
friendsofflarum oauth to 2.0.0-beta.4 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-345 The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability in FriendsOfFlarum OAuth allows an attacker to gain unauthorized access to a Flarum account by exploiting the Discord OAuth provider. The provider fails to verify if an email address is confirmed before trusting it, enabling an attacker to link their Discord account to a victim's email address without the victim's knowledge or interaction.

Detection Guidance

Detecting this vulnerability requires checking if the Discord OAuth provider in FriendsOfFlarum OAuth versions before 1.7.4 or 2.0.0-beta.4 is enabled and if the verified field is not being validated for email addresses.

Impact Analysis

This vulnerability can allow an attacker to take over your Flarum account, including administrator accounts, without needing your password. The attacker only needs to know your email address and have a Discord account with that email set as unverified but linked to a verified phone number.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive user data, potentially violating GDPR's data protection requirements or HIPAA's security rules for protected health information. Unauthorized account access may result in data breaches, non-compliance with access controls, and failure to protect user privacy.

Mitigation Strategies

Immediately update FriendsOfFlarum OAuth to version 1.7.4 or 2.0.0-beta.4 or later to fix the issue. Disable the Discord OAuth provider if not required until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-92161. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart