All vulnerabilities

npm

CVE-2026-134315

better-auth 1.4.0 before 1.7.16 Account Takeover via Email-Change Links

Severity
High 7.4
Published
21 Nov 2026
Last changed
21 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.7.16, 1.8.0-beta.5
Exploit chance
0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
better-authnpm · osv:npm:better-auth
  • From 1.4.0 before 1.7.16
  • From 1.8.0-beta.0 before 1.8.0-beta.5

About better-auth

Weekly downloads (npm)
21,121,233npm, 23 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134315