CVE-2026-134322
better-auth 0.4.12-beta.7 before 1.7.16 Unverified Phone Number Account Takeover
8.6
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| better-auth | better-auth | 0.4.12-beta.7 → <1.7.16 | 1.7.16 | CVE.org |
| better-auth | better-auth | 1.8.0-beta.0 → <1.8.0-beta.5 | 1.8.0-beta.5 | CVE.org |