## better-auth: OAuth state can be used as a Magic Link to sign in as another user

- 種別: advisory
- 重大度: critical
- 関連技術: nodejs
- CVE: CVE-2026-114607
- 公開日時: 2026-10-27T15:32:05.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-965c-763c-88jm)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-965c-763c-88jm

影響: npm:better-auth >= 1.4.0-beta.18, < 1.7.7 → 1.7.7
Am I affected? You may be affected if you use better-auth from 1.4.0-beta.18 through versions before 1.7.7 with the Magic Link plugin and social or Generic OAuth sign-in. You are affected if all of these are true: - Magic Link is enabled with default storeToken: "plain", or with storeToken: "hashed" and global verification.storeIdentifier: "hashed" (including a hashed default). - At least one built-in social provider or Generic OAuth provider is enabled. - OAuth state uses account.storeStateStr…