Better Auth: Account takeover via OAuth auto-link to unverified pre-registered email (better-auth better-auth)
En bref
- Source
- NVD
- EPSS
- EPSS 0.29 % · centile 22 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Rechercher sur…
Description
Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, Better Auth's OAuth callback auto-link gate in handleOAuthUserInfo accepts implicit account linking when the OAuth provider asserts email_verified: true without requiring the local user row's emailVerified field to also be true, allowing an attacker who pre-registers a victim email through /sign-up/email to bind the victim's OAuth identity to the attacker's account. The same primitive affects one-tap, and emailAndPassword.requireEmailVerification: true does not mitigate the link-time verification change. This issue is fixed in version 1.6.11.
Faiblesses (CWE)
- CWE-287 — Authentification incorrecte
- CWE-345 — Vérification insuffisante de l'authenticité des données
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | GitHub_M |
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-g38m-r43w-p2q7 — Better Auth has an account takeover issue via OAuth auto-link to unverified pre-registered email
Références européennes
- ENISA EUVD · EUVD-2026-44732
- GCVE · GCVE-0-2026-53516
Configurations affectées (CPE NVD)
cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*< 1.6.11
Produits affectés
| Produit | Versions |
|---|---|
| better-auth · better-auth | affected < 1.6.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |