Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.6

CVE-2026-134322: better-auth allows account takeover via unverified phone number

CVE-2026-134322 · published 6 days ago
Summary

The better-auth library version 0.4.12-beta.7 up to 1.7.16 (and early 1.8 beta releases) can store phone numbers that have not been verified. When an attacker links a victim's number to their own account, the victim's one‑time password will log them into the attacker’s account, exposing any data they enter. Update to a version that fixes the issue or disable the phone‑number plugin until a patched release is available.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
better-auth better-auth < 1.7.16
< 1.8.0-beta.5
Original advisory text
better-auth 0.4.12-beta.7 before 1.7.16 Unverified Phone Number Account Takeover
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
8.6 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-287Improper Authentication
Timeline
Published21 Nov 2026
Updated26 Nov 2026
First seen21 Nov 2026
Sources
CVE-2026-134322 · MITRE
Track software like this
Free during beta