本文へ移動

#CVE-2026-114607

脆弱性の一覧へ戻る

編集部の見出し:Better Auth(TypeScript 向けの認証ライブラリ。Magic Link と OAuth の併用でセッションを奪える)

CVE(NVD)CVSS 9.1 CriticalEPSS 0.4%

NVD の情報

Better Auth is an authentication and authorization library for TypeScript. From 1.4.0-beta.18 until 1.7.7, deployments that enable Magic Link with storeToken set to plain, or with storeToken set to hashed and the global verification.storeIdentifier setting also set to hashed, enable a built-in social or Generic OAuth provider, and use account.storeStateStrategy set to database can accept an OAuth sign-in state value as a Magic Link token. These settings can cause Magic Link verification records and OAuth state to resolve to the same stored identifier, allowing an unauthenticated attacker to start OAuth sign-in for a known email address and redeem the returned state through Magic Link without controlling the mailbox or completing the provider callback. The attacker can obtain a normal session for an existing user, or create an account incorrectly marked as email verified when sign-up is enabled. This issue is fixed in version 1.7.7.

公開日
2026-10-22
最終更新(NVD)
2026-10-23
NVD の状態
Deferred
脆弱性の種類
CWE-287

深刻度(CVSS)

  • 9.1 CriticalCVSS 3.1/副/評価:security-advisories@github.comCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

EPSS:今後30日に悪用される推定確率 0.42%(全体の上位 63.7%、評価日 2026-10-30)

解消方法

  • better-auth のバージョンアップ1.7.7 以降根拠:公告(編集部の転記)

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-10-29 のレポートBetter Auth(TypeScript 向けの認証ライブラリ。Magic Link と OAuth の併用でセッションを奪える)

公告に記載の修正版

2026-10-28 のレポートbetter-auth(Node.js の認証ライブラリ、他人としてログインできる)

参照(NVD)

NVD から取得:2026-10-30T18:15:24.311Z/EPSS 評価日:2026-10-30

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。