All vulnerabilities

npm

CVE-2026-134322

better-auth 0.4.12-beta.7 before 1.7.16 Unverified Phone Number Account Takeover

Severity
High 8.6
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 · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

better-auth 0.4.12-beta.7 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability in the phone number plugin that lets sign-up and other flows save unverified phone numbers, which phone OTP sign-in then uses to select the account. Attackers can attach a victim's number to an attacker-controlled account so the victim's valid OTP sign-in yields a session for that account, exposing data the victim then enters.

From the CVE Program.

Affected software

SoftwareAffected versions
better-authnpm · osv:npm:better-auth
  • From 0.4.12-beta.7 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-134322