Skip to main content

FriendsOfFlarum OAuth EUVDEUVD-2026-87140

| CVE-2026-92161 CRITICAL
Insufficient Verification of Data Authenticity (CWE-345)
2026-09-25 GitHub_M GHSA-g7vj-c29h-3h5m
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain victim's Flarum email address
  2. Delivery
    Register Discord account with victim email, verify phone not email
  3. Exploit
    Initiate Discord OAuth sign-in on forum
  4. Execution
    OAuth returns unverified email trusted by fof/oauth
  5. Persist
    Flarum links Discord identity and authenticates as victim
  6. Impact
    Full account/admin takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
Exploitation Conditions

Exploitation requires that the Discord OAuth provider is enabled in the fof/oauth extension settings on the target Flarum forum (not necessarily a default configuration). The attacker must know the victim's Flarum account email, and that email must NOT already be linked to any existing Discord account. The attacker must control a Discord account configured with the victim's email left unverified but with a verified phone number, which is the specific quirk that makes Discord return "verified": false while still supplying the address. Only the Discord provider is exploitable; the advisory states GitHub, Google, GitLab, LinkedIn and Facebook flows return only verified/confirmed emails. The workaround/limiter is disabling the Discord provider. No password knowledge or victim interaction is required, which is why administrator accounts can be fully compromised.

Impact

This is a genuinely high-priority vulnerability where the CVSS 9.8 rating is largely defensible, not inflated. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) describes a remote, unauthenticated, no-user-interaction attack, and the advisory confirms this: an attacker who merely knows a victim's email can take over the account - including administrator accounts - without a password or victim interaction. CWE-345 (insufficient verification of data authenticity) accurately captures the root cause: fof/oauth trusted Discord's OAuth email without checking the returned 'verified' flag. No EPSS score, CISA KEV entry, or public POC was provided, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the risk is therefore driven by ease-of-exploitation and impact rather than observed campaigns. The main factors that temper real-world risk are deployment scope and preconditions rather than technical difficulty: the target is a niche self-hosted forum extension, the Discord provider must be explicitly enabled, and the victim's email must not already be linked to a Discord account. The confidentiality/integrity impact is well-supported by the account-takeover primitive; the A:H rating is the weakest metric, defensible mainly via admin-account compromise leading to service disruption. Overall this is a real priority for any Flarum forum running fof/oauth with Discord sign-in enabled, but its blast radius is bounded by the small install base.

Exploit ScenarioDerived

An attacker learns the email address of a forum administrator (often public), creates a Discord account using that email but leaves it unverified while verifying a phone number instead, so Discord returns the email with "verified": false. The attacker enables Discord sign-in on the target Flarum forum's login and authenticates; because fof/oauth passes the unverified address to Flarum core via provideTrustedEmail(), Flarum matches it to the existing admin and logs the attacker in as that user. No public POC is identified, but the patch diff and preconditions make the technique straightforward to reproduce.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Unauthenticated account takeover in the FriendsOfFlarum OAuth extension (fof/oauth) for Flarum, affecting versions prior to 1.7.4 and 2.0.0-beta.4 when the Discord sign-in provider is enabled. Attackers who know a target user's email address can register a Discord account with that address left unverified (relying on a verified phone number to satisfy Discord) and then sign in, causing the extension to hand the address to Flarum core as trusted and link the attacker-controlled Discord identity to the victim's existing account - including administrator accounts - with no password and no victim interaction. The vulnerability has a CVSS base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is unauthenticated per its vector; no public exploit code identified at time of analysis, though exploitation is straightforward once the preconditions are met.

RemediationAI

Vendor-released patch: 1.7.4 for the 1.x line and 2.0.0-beta.4 for the 2.0 beta line - upgrade to the appropriate fixed version via Composer (composer require fof/oauth:^1.7.4 or the corresponding 2.0.0-beta.4 constraint) and confirm the extension is updated in the Flarum admin panel. The patched code only marks an OAuth email as trusted when Discord reports "verified": true; unverified addresses are downgraded to a suggestion the user must confirm. If an immediate upgrade is not possible, disable the Discord OAuth provider in the extension settings - this fully blocks the attack path at the cost of removing Discord as a sign-in option for all forum members - and audit existing accounts for unexpected or unrecognized Discord links, revoking sessions and re-credentialing any administrator account that may have been linked. Additional detail and the exact fix commits are available at the GHSA advisory (https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m) and in commits baca3466b3b7be51c70a7e0ba966901aefeb344a and bb4bf376832e6bb68c579715d2a4b5a92c4a2567.

Affected VersionsENISA

oauth 2.0.0-beta.1, < 2.0.0-beta.4
oauth < 1.7.4

Affected Packages

composer fof/oauth fix: 1.7.4, 2.0.0-beta.4
euvd oauth fix: 1.7.4
euvd oauth_2_0_0_beta_1 fix: 2.0.0-beta.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-345 insufficient verification of data authenticity issue inside the OAuth2 login flow of the composer package fof/oauth (CPE cpe:2.3:a:friendsofflarum:oauth). Each bundled provider adapter builds a Flarum registration suggestion from the third-party identity's user payload; the Discord adapter (src/Providers/Discord.php) previously called provideTrustedEmail($email) unconditionally, telling Flarum core that the address returned by the resource owner (Wohali\OAuth2\Client\Provider\DiscordResourceOwner) was verified and could be matched against an existing account. Discord permits an account to carry an unverified email address as long as a phone number is verified, and its OAuth user payload then returns "verified": false alongside that address. Because the flag was never inspected, the unverified address was treated as authoritative, and Flarum's trusted-email matching logic linked the incoming OAuth identity to the pre-existing local user and issued an authenticated session. The fix, visible in commit baca3466b3b7be51c70a7e0ba966901aefeb344a, checks $payload['verified'] and only calls provideTrustedEmail() when true, otherwise falling back to suggestEmail(); the same commit hardens the GitLab (confirmed_at), Google (isEmailTrustworthy()), and LinkedIn (email_verified) adapters for defense in depth, while the advisory states GitHub, Facebook, Google, GitLab and LinkedIn were not confirmed to be practically exploitable because their relevant flows only return verified or confirmed addresses.

Know when Oauth gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Remote unauthenticated takeover with no user interaction (AV:N/AC:L/PR:N/UI:N); full account/admin compromise yields C:H/I:H, and admin control supports A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 25, 2026 - 17:04 EUVD
CVE Published
Sep 25, 2026 - 15:53 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Technical POC Analysis

The bug is CWE-345: Insufficient Verification of Data Authenticity.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-92161 is a critical unauthenticated account-takeover flaw in the FriendsOfFlarum OAuth extension (fof/oauth) used by Flarum community platforms, letting an attacker who knows a user's email address seize that account - including administrator accounts - without a password or any victim interaction. Administrators affected by this flaw effectively hand over full control of the forum and its member data, exposing the organization to data theft, content manipulation, and risk to any systems integrated with the platform. Leadership should treat any internet-facing Flarum deployment with Discord sign-in enabled as directly in scope.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations are to disable the Discord sign-in provider in fof/oauth, audit and remove unexpected Discord-linked identities (particularly on administrator accounts), revoke sessions and rotate credentials for any affected account, and require email verification and strong authentication for privileged users.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
Niche self-hosted Flarum forum OAuth extension with Discord provider enabled
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy