Vulnerability in fof/oauth
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-92161 has been found in fof/oauth.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade fof/oauth to 2.0.0-beta.4 or later.
If unsure, ask your IT team or search "fof/oauth CVE-2026-92161" on the vendor's site.
CVE-2026-92161 (fof/oauth) — CWE-345 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.0.0-beta.4 — apply immediately
Workaround: Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-345) exists in fof/oauth.
Check the vendor advisory for the affected versions of fof/oauth.
Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover.
Update to 2.0.0-beta.4.
Workaround: Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'fof/oauth' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'fof/oauth' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
fof/oauthを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.パッチが適用されるまでの応急処置として、Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade fof/oauth to 2.0.0-beta.4ステージング環境で 2.0.0-beta.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composerfof/oauth |
< 2.0.0-beta.4→ 2.0.0-beta.4 |
2.0.0-beta.4 |
Original description The description as published by the source.
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: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com