Live threats

All CVEs / FriendsOfFlarum

CVE-2026-92161FriendsOfFlarum oauth

Unauthenticated Identity Spoofing in FriendsOfFlarum OAuth (Discord Provider)

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 25, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-345
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

FriendsOfFlarum OAuth prior to versions 1.7.4 and 2.0.0-beta.4 fails to validate the verified field of Discord email addresses before trusting them. An unauthenticated attacker who knows a user's email can create a Discord account with that unverified email and verified phone number, then sign in to impersonate the victim, including administrators.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.7.4, 2.0.0-beta.4

Update FriendsOfFlarum OAuth to version 1.7.4 or 2.0.0-beta.4 or later. Disable the Discord OAuth provider in Flarum if you cannot update immediately.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for oauth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist fof/oauth < 1.7.4 1.7.4 composer require "fof/oauth:^1.7.4"
Packagist fof/oauth ≥ 2.0.0-beta.1 < 2.0.0-beta.4 2.0.0-beta.4 composer require "fof/oauth:^2.0.0-beta.4"

Per OSV / GitHub Advisories (GHSA-g7vj-c29h-3h5m). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.