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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-09-25T15:53:34.825Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-g7vj-c29h-3h5m
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- FriendsOfFlarum oauth: < 1.7.4; >= 2.0.0-beta.1, < 2.0.0-beta.4
- fof/oauth (Packagist): before 1.7.4; from 2.0.0-beta.1 before 2.0.0-beta.4

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `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 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m> (web)
- <https://github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344a> (web)
- <https://github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567> (web)
- <https://github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4> (web)
- <https://github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92161> (advisory)
- <https://github.com/FriendsOfFlarum/oauth> (package)

## Sources

- CVE List: [CVE-2026-92161](https://www.cve.org/CVERecord?id=CVE-2026-92161), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-g7vj-c29h-3h5m](https://github.com/advisories/GHSA-g7vj-c29h-3h5m), CC-BY-4.0, modified 2026-09-25
- NVD: [CVE-2026-92161](https://nvd.nist.gov/vuln/detail/CVE-2026-92161), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-92161 · Whole record: https://cve.day/CVE-2026-92161.json · Rebuilt by cve.day 2026-11-25T22:59:41.107Z
