packagist package report

Is fof/oauth safe?

1 known vulnerability, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      0.0
      critical

      severity band, no base score published

      epss
      not scored

      chance of exploitation in 30 days

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-g7vj-c29h-3h5m, the advisory selected below

      // 1 advisories

      GHSA-g7vj-c29h-3h5m

      CRITICALCVE-2026-92161
      // impact

      An unauthenticated account takeover vulnerability exists in fof/oauth when the Discord OAuth provider is enabled.

      Discord allows an account to use an unverified email address when its phone number has been verified. During OAuth authentication, Discord may return that email address with "verified": false.

      Affected versions of fof/oauth did not validate this flag and passed the email address to Flarum core as trusted via provideTrustedEmail(). Flarum core could then match the trusted email address to an existing user, link the attacker-controlled Discord identity to that user, and authenticate the attacker as the victim.

      An attacker who knows a user's email address can therefore take over the corresponding Flarum account without knowing its password or requiring any interaction from the victim. This includes administrator accounts.

      // preconditions for exploitation
      • Discord sign-in is enabled on the forum.
      • The victim has a Flarum account with a known email address.
      • The victim's email address is not already associated with a Discord account.
      • The attacker creates or configures a Discord account using the victim's email address without verifying it and verifies a phone number instead.
      • The attacker authenticates to the forum using that Discord account.

      The issue is specific to Discord's ability to return an unverified email address through OAuth. Other bundled providers were not confirmed to be practically exploitable through the same method because they only return verified or confirmed email addresses in the relevant authentication flow.

      // patched versions// workarounds

      Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.

      // credits

      Reported by @faran1512


      Checked 2026-09-25 at 20:36 UTC. The most recent advisory here was published 2026-09-25. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.