CVE-2026-92161: CWE-345: Insufficient Verification of Data Authenticity in FriendsOfFlarum oauth
FriendsOfFlarum OAuth versions prior to 1.7.4 and between 2.0.0-beta.1 and 2.0.0-beta.4 contain a vulnerability in the Discord OAuth provider where the verified status of an email address is not checked before trusting it. This allows an attacker who knows a user's email to create a Discord account with that unverified email and a verified phone number, then authenticate as the victim without a password. The vulnerability can compromise administrator accounts. The issue is fixed in versions 1.7.4 and 2.0.0-beta.4.
AI Analysis
Technical Summary
The FriendsOfFlarum OAuth integration with Discord prior to version 1.7.4 and in versions from 2.0.0-beta.1 up to but not including 2.0.0-beta.4 does not verify the 'verified' field of the email address returned by Discord's OAuth response before passing it as a trusted email to Flarum core. This allows an unauthenticated attacker who knows a victim's email address to register a Discord account with that unverified email and a verified phone number, then sign in via Discord OAuth. Flarum will link the attacker-controlled Discord identity to the existing user account and authenticate the attacker as that user without requiring a password or victim interaction. Other OAuth providers bundled with FriendsOfFlarum were not confirmed to be exploitable in this manner because they only return verified or confirmed emails. The vulnerability is resolved in versions 1.7.4 and 2.0.0-beta.4.
Potential Impact
Successful exploitation allows an unauthenticated attacker to impersonate any Flarum user, including administrators, by linking a Discord account with an unverified email matching the victim's email. This leads to full account compromise without requiring the victim's password or interaction. The attack requires that the victim's email is not already associated with a Discord account. The vulnerability impacts confidentiality, integrity, and availability of affected Flarum user accounts.
Mitigation Recommendations
This vulnerability is fixed in FriendsOfFlarum OAuth versions 1.7.4 and 2.0.0-beta.4. Users should upgrade to at least these versions to remediate the issue. No other mitigation is required as the fix properly verifies the email's verified status before trusting it. Patch status is confirmed by the vendor advisory.
CVE-2026-92161: CWE-345: Insufficient Verification of Data Authenticity in FriendsOfFlarum oauth
Description
FriendsOfFlarum OAuth versions prior to 1.7.4 and between 2.0.0-beta.1 and 2.0.0-beta.4 contain a vulnerability in the Discord OAuth provider where the verified status of an email address is not checked before trusting it. This allows an attacker who knows a user's email to create a Discord account with that unverified email and a verified phone number, then authenticate as the victim without a password. The vulnerability can compromise administrator accounts. The issue is fixed in versions 1.7.4 and 2.0.0-beta.4.
CVSS v3.1
Score 9.8critical
Affected software
FriendsOfFlarum
oauth
pkg:github/friendsofflarum/oauthRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The FriendsOfFlarum OAuth integration with Discord prior to version 1.7.4 and in versions from 2.0.0-beta.1 up to but not including 2.0.0-beta.4 does not verify the 'verified' field of the email address returned by Discord's OAuth response before passing it as a trusted email to Flarum core. This allows an unauthenticated attacker who knows a victim's email address to register a Discord account with that unverified email and a verified phone number, then sign in via Discord OAuth. Flarum will link the attacker-controlled Discord identity to the existing user account and authenticate the attacker as that user without requiring a password or victim interaction. Other OAuth providers bundled with FriendsOfFlarum were not confirmed to be exploitable in this manner because they only return verified or confirmed emails. The vulnerability is resolved in versions 1.7.4 and 2.0.0-beta.4.
Potential Impact
Successful exploitation allows an unauthenticated attacker to impersonate any Flarum user, including administrators, by linking a Discord account with an unverified email matching the victim's email. This leads to full account compromise without requiring the victim's password or interaction. The attack requires that the victim's email is not already associated with a Discord account. The vulnerability impacts confidentiality, integrity, and availability of affected Flarum user accounts.
Mitigation Recommendations
This vulnerability is fixed in FriendsOfFlarum OAuth versions 1.7.4 and 2.0.0-beta.4. Users should upgrade to at least these versions to remediate the issue. No other mitigation is required as the fix properly verifies the email's verified status before trusting it. Patch status is confirmed by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-15T17:13:57.866Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab69b45f7a7c54106f9b739
Added to database: 09/25/2026, 16:03:17 UTC
Last enriched: 09/25/2026, 16:17:41 UTC
Last updated: 09/25/2026, 16:22:02 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.