Outlineで認証前にアカウントを乗っ取られるおそれ
Summary
Outlineの Azure(Microsoft Entra)および Discord の OAuth アダプターが、未検証のメールアドレスを信頼してしまう脆弱性です。攻撃者は認証前に、被害者のメールアドレスを持つ別アカウントとして Outline にログインできるおそれがあります。修正版として 1.11.0 が公開されているため、速やかに更新してください。
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.
Outlineの Azure(Microsoft Entra)および Discord の OAuth アダプターが、未検証のメールアドレスを信頼してしまう脆弱性です。攻撃者は認証前に、被害者のメールアドレスを持つ別アカウントとして Outline にログインできるおそれがあります。修正版として 1.11.0 が公開されているため、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| otherOutline |
< 1.11.0→ 1.11.0 |
1.11.0 |
Original description The description as published by the source.
Pre-auth account takeover via Azure and Discord OAuth adapters trusting unverified email claim (nOAuth-class, shared email-merge primitive in userProvisioner)
Summary
Outline's Azure (Microsoft Entra) and Discord OAuth adapters both treat the provider-side email field as an authoritative identity, without consulting the verification signal the provider exposes alongside it (xms_edov for Microsoft Entra, the verified boolean for Discord). The downstream merge primitive in server/commands/userProvisioner.ts:124-132 then looks up an existing user by case-insensitive email and attaches the in-flight OAuth identity to that user inside a transaction — with no provider-history check, no admin policy gate, and no email_verified evidence required.
The result is a one-shot pre-auth account takeover: an unauthenticated network stranger who owns either a free Microsoft Entra tenant or a fresh Discord account can mint an identity that claims email = @ and walk through Outline's OAuth flow to receive a session as the victim. On self-hosted instances, a UserAuthentication row is persisted that re-authenticates the attacker as the victim on every future visit, with no UI path for the victim to revoke it.
This is the same vulnerability class as CVE-2026-41574 / GHSA-6g38-8j4p-j3pr (Nhost, April 2026, CVSS 4.0 9.3 Critical), CVE-2026-34456 (Reviactyl, 2026), and CVE-2026-33175 (OAuthenticator, 2026) — all awarded High/Critical for the same primitive a…
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY outline/outline