CVE-2026-134315: better-auth 1.4.0 before 1.7.16 Account Takeover via Email-Change Links
better-auth 1.4.0 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability because email-change links record the old and new addresses but not the requesting user. Attackers can open a still-valid link issued for their own account after a victim registers the attacker's released old address, gaining a session and changing the victim's email to one they control.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.7.16 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.8.0-beta.5