---
title: "CVE-2026-92161: FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider"
url: https://erroneo.us/security/cve/CVE-2026-92161/
description: "CVE-2026-92161 (fof/oauth (Composer (PHP))): FriendsOfFlarum OAuth allows users to log in to Flarum with GitHub, Twitter, Facebook, and other providers.…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-09-25
date_modified: 2026-09-29
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-92161"
kev: false
cvss: 9.8
epss: 0.00272
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-92161: FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.3% , percentile 18: FIRST’s model estimates a 0.3% chance of exploitation activity in the next 30 days, higher than 18% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes fof/oauth (Composer (PHP)) < 1.7.4, fixed in 1.7.4 ; fof/oauth (Composer (PHP)) >= 2.0.0-beta.1, < 2.0.0-beta.4, fixed in 2.0.0-beta.4 . Check your lockfile, including transitive dependencies.

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

## Affected packages

- Composer (PHP) `fof/oauth` < 1.7.4 → fixed: 1.7.4
- Composer (PHP) `fof/oauth` >= 2.0.0-beta.1, < 2.0.0-beta.4 → fixed: 2.0.0-beta.4

## Affected products (CVE record)

- FriendsOfFlarum oauth: < 1.7.4, >= 2.0.0-beta.1, < 2.0.0-beta.4

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.27% probability of exploitation activity in the next 30 days; percentile 18.

## Sources

- [GitHub Advisory GHSA-g7vj-c29h-3h5m](https://github.com/advisories/GHSA-g7vj-c29h-3h5m)
- [CVE.org record CVE-2026-92161](https://www.cve.org/CVERecord?id=CVE-2026-92161)
- [NVD entry CVE-2026-92161](https://nvd.nist.gov/vuln/detail/CVE-2026-92161)
- [github.com](https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m)
- [github.com](https://github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344a)
- [github.com](https://github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567)
- [github.com](https://github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4)
- [github.com](https://github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4)

---
Source page: https://erroneo.us/security/cve/CVE-2026-92161/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
