Patch Forecast
Amber warning
Patch this week.

CVE-2026-92161 · GHSA-g7vj-c29h-3h5m

FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider

Risk score
72/100
CVSS
9.8 v3.1
Exploit chance (30 days)
0.3%
Published
25 Sep 2026

Open in the live forecast Today's forecast

What to know

What it is
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 …
Affected
fof/oauth (composer) < 1.7.4; fof/oauth (composer) >= 2.0.0-beta.1, < 2.0.0-beta.4
Fix
Upgrade fof/oauth to 1.7.4 or 2.0.0-beta.4 (whichever matches your release line) or later.
Exploitation
No known exploitation

Why it is Amber

  • CVSS 9.8 critical
  • Remotely exploitable without logging in
  • On your watchlist: Composer

Affected packages

PackageEcosystemVulnerableFixed in
fof/oauthcomposer< 1.7.41.7.4
fof/oauthcomposer>= 2.0.0-beta.1, < 2.0.0-beta.42.0.0-beta.4

References

Original 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.

Last activity 25 Sep 2026. Patch Forecast updates every hour.