CVE-2026-53516 Better Auth: Account takeover via OAuth auto-link to unverified pre-registered email
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| better-auth better auth | < 1.6.11 | 1.6.11 | Fixed |
| npm better-auth(npm) | < 1.6.11 | 1.6.11 | Fixed |
| better-auth | = < 1.6.11 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| better-auth | = < 1.6.11 | No fix listed |
| npm better-auth(npm) | < 1.6.11 | 1.6.11 |
| better-auth better auth | < 1.6.11 | 1.6.11 |
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-g38m-r43w-p2q7 mitigation vendor-advisory
- https://github.com/better-auth/better-auth/pull/9578 issue-tracking patch
- https://github.com/better-auth/better-auth/commit/da7e50beee849c59a2ed1ec6b3a38cc6ab9fb563 patch
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product