PT-2026-56300 · Unknown · Better Auth

CVE-2026-53516

·

Published

2026-07-07

·

Updated

2026-07-21

CVSS v3.1

8.3

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions Better Auth versions prior to 1.6.11
Description Better Auth contains a pre-account hijacking flaw where the OAuth callback auto-link gate in the handleOAuthUserInfo() function allows implicit account linking if the OAuth provider asserts email verified: true, without verifying if the local user row's emailVerified field is also true. An attacker can exploit this by pre-registering a victim's email address via the /sign-up/email endpoint. When the victim later attempts to sign in via OAuth, their identity is bound to the attacker's account, granting the attacker persistent access via password login. This issue also affects the one-tap sign-in plugin. Furthermore, setting emailAndPassword.requireEmailVerification: true does not mitigate this because the linking process automatically promotes the attacker's local account to a verified status.
Recommendations Upgrade to Better Auth version 1.6.11 or later. As a temporary workaround, set account.accountLinking.disableImplicitLinking to true to force linking through the authenticated /link-social endpoint. As a temporary workaround, set account.accountLinking.enabled to false to disable account linking entirely.

Exploit

Fix

Improper Authentication

Insufficient Verification of Data Authenticity

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-53516
GHSA-G38M-R43W-P2Q7

Affected Products

Better Auth