better-auth: Improper authentication in phone number plugin
The better-auth library contains an improper authentication vulnerability in the phone number plugin that allows attackers to link a victim's unverified phone number to an attacker-controlled account, resulting in session hijacking during OTP sign-in.
CVE search metadata
CVE search record: CVE-2026-134322. Severity: high. CVSS: 8.1. KEV: no. Product: better-auth. Brief: better-auth: Improper authentication in phone number plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-11-better-auth-authentication-bypass-cve-2026-134322/
Triage facts
Revision 1- Applicability
- better-auth
- Evidence
- Unknown
- Severity
- High
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 21, 18:45 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
Overview
The better-auth library contains an improper authentication vulnerability in the phone number plugin that affects versions 0.4.12-beta.7 through 1.7.15 and 1.8.0-beta.0 through 1.8.0-beta.4. The vulnerability allows sign-up and other flows to save unverified phone numbers, which the phone OTP sign-in process then utilizes to select the account.
Attack Chain
Attackers can attach a victim's number to an attacker-controlled account. When the victim performs a valid OTP sign-in, the system logs them into the attacker-controlled account, exposing data that the victim subsequently enters into the session.
Impact
Successful exploitation results in unauthorized account session hijacking, allowing attackers to access data provided by the victim during an authenticated session. The vulnerability carries a CVSS base score of 8.1 (v3.1) and 8.6 (v4.0). Under v4.0, the vulnerability requires user interaction (passive) and does not require specific privileges.
Recommendation
Users should update to version 1.7.16 or 1.8.0-beta.5 to remediate this vulnerability.