better-auth 1.4.0 before 1.7.16 Account Takeover via Email-Change Links
- State
- Published
- Severity
- 7.4 High
- Published
- Nov 21, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 20, 2026
Description
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.
| Product | Versions |
|---|---|
| better-auth better-auth | 1.4.0 to before 1.7.16 Affected1.7.16 Not Affected |
| better-auth better-auth | 1.8.0-beta.0 to before 1.8.0-beta.5 Affected1.8.0-beta.5 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.4 High | VulnCheck | |
| 3.1 | 6.4 Medium | VulnCheck |
Weaknesses
- CWE-287 Improper Authentication
References
- GitHub Security Advisory (GHSA-hwq2-v29r-p69r)Vendor Advisory
- VulnCheck Advisory: better-auth 1.4.0 before 1.7.16 Account Takeover via Email-Change LinksThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.