Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim's Flarum email address
-
DeliveryRegister Discord account with victim email, verify phone not email
-
ExploitInitiate Discord OAuth sign-in on forum
-
ExecutionOAuth returns unverified email trusted by fof/oauth
-
PersistFlarum links Discord identity and authenticates as victim
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
The IconUriServlet of the Atlassian OAuth Plugin from version 1.3.0 before version 1.9.12 and from version 2.0.0 before
Reflected JavaScript injection in oauthlib's OAuth 2.0 RevocationEndpoint (CWE-79) lets an attacker who can influence th
Session fixation in the Wikimedia Foundation OAuth MediaWiki extension (src/Backend/MWOAuthServer.php) allows a network-
EUVD-2026-87140
GHSA-g7vj-c29h-3h5m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB