High severityNVD Advisory· Published Jul 15, 2026· Updated Jul 15, 2026
Better Auth: Account takeover via OAuth auto-link to unverified pre-registered email
CVE-2026-53516
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
better-authnpm | < 1.6.11 | 1.6.11 |
Affected products
1- Range: <1.6.11
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-g38m-r43w-p2q7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-53516ghsaADVISORY
- github.com/better-auth/better-auth/commit/da7e50beee849c59a2ed1ec6b3a38cc6ab9fb563ghsax_refsource_MISCWEB
- github.com/better-auth/better-auth/pull/9578ghsax_refsource_MISCWEB
- github.com/better-auth/better-auth/releases/tag/v1.6.11ghsax_refsource_MISCWEB
- github.com/better-auth/better-auth/security/advisories/GHSA-g38m-r43w-p2q7ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.