Security mailing lists by PureSourceCode

CVE-2026-92161

CRITICAL 9.8CVSS 3.1

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

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.

Published
25 Sep 2026
Last modified
30 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-345
Also known as
GHSA-g7vj-c29h-3h5m
Sources
NVDJSONOSV GHSA-g7vj-c29h-3h5mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist fof/oauth < 1.7.4 1.7.4
OSV Packagist fof/oauth >= 2.0.0-beta.1, < 2.0.0-beta.4 2.0.0-beta.4

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 25 Sep 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.