Unverified phone numbers enable account takeover in better-auth
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
better-auth from 0.4.12-beta.7 before 1.7.16 and from 1.8.0-beta.0 before 1.8.0-beta.5 is affected. The phone number plugin saves unverified phone numbers, and phone OTP sign-in uses them to select the account (CWE-287). An unauthenticated remote attacker attaches a victim's number to an attacker-controlled account, so the victim's OTP sign-in opens a session there and exposes data the victim enters.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| better-auth | better-auth | 0.4.12-beta.7 to before 1.7.16 | 1.7.16 | Patch available | CNA |
| better-auth | better-auth | 1.8.0-beta.0 to before 1.8.0-beta.5 | 1.8.0-beta.5 | Patch available | CNA |
- better-auth Vendorbetter-auth Affected 0.4.12-beta.7 to before 1.7.16 Fixed in 1.7.16 Patch available CNA
- better-auth Vendorbetter-auth Affected 1.8.0-beta.0 to before 1.8.0-beta.5 Fixed in 1.8.0-beta.5 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:*:*:* | — | — | better-auth |
- cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:*:*:* Versions — — ·better-auth
Remediation
Update better-auth to 1.7.16 for installs from 0.4.12-beta.7 before 1.7.16 and to 1.8.0-beta.5 for installs from 1.8.0-beta.0 before 1.8.0-beta.5.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
- Fix · CNA better-auth (better-auth) Fixed in 1.7.16
- Fix · CNA better-auth (better-auth) Fixed in 1.8.0-beta.5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
better-auth 1.7.16, 1.8.0-beta.5
8 records Highest priority Priority MEDIUM 1 MEDIUM, 7 LOW
Other records, highest priority first
- TI-2026-96312 Unverified OAuth emails enable account takeover in Better AuthPriority LOW 35
- TI-2026-96313 Race condition in Better Auth lets users receive others' sessionsPriority LOW 33
- TI-2026-96311 Privilege escalation in better-auth admin update-user endpointPriority LOW 33
Timeline
- 2026-11-21 Threatist record created from CVE-2026-134322
- 2026-11-21 Alias added: GHSA-cm25-j9rr-5r3r
- 2026-11-23 CISA SSVC decision points changed
References
More better-auth vulnerabilities
- TI-2025-38277 Better Auth: Unauthenticated API key creation through api-key plugin CVSS 4.0CRITICAL 9.3
- TI-2026-47627 better-auth SCIM 1.5.0 before 1.7.0-beta.4 Authorization Bypass CVSS 4.0HIGH 8.7
- TI-2025-20000 Beter Auth has an Open Redirect via Scheme-Less Callback Parameter CVSS 4.0MEDIUM 6.9
- TI-2026-13066 better-auth better-icons scan_project_icons/sync_icon path traversal CVSS 4.0MEDIUM 4.8
- TI-2026-79320 OAuth state accepted as Magic Link token in Better Auth CVSS 3.1CRITICAL 9.1
- TI-2026-74552 Authentication bypass in Better Auth Magic Link verification CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-134322 · CVE Program
- CVE-2026-134322 · NVD
- FIRST EPSS
- GHSA-cm25-j9rr-5r3r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences