CVE-2026-92161
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
fof/oauthPackagist | < 1.7.4 | 1.7.4 |
fof/oauthPackagist | >= 2.0.0-beta.1, < 2.0.0-beta.4 | 2.0.0-beta.4 |
Affected products
1- Range: 1.7.4, 2.0.0-beta.4
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-g7vj-c29h-3h5mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-92161ghsaADVISORY
- github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344anvdWEB
- github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567nvdWEB
- github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4nvdWEB
- github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4nvdWEB
- github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5mnvdWEB
News mentions
0No linked articles in our index yet.