CVE-2026-134322
Deferred Deferred - Pending Action

Improper Authentication in better-auth Phone Number Plugin

Vulnerability report for CVE-2026-134322, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
better-auth better-auth From 0.4.12-beta.7 (inc) to 1.7.16 (exc)
better-auth better-auth From 1.8.0-beta.0 (inc) to 1.8.0-beta.5 (exc)
better-auth better-auth 1.7.16
better-auth better-auth 1.8.0-beta.5
better-auth better-auth to 1.7.16|end_excluding=1.8.0_beta.0|end_excluding=1.8.0_beta.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in better-auth versions 0.4.12-beta.7 through 1.7.15 and 1.8.0-beta.0 through 1.8.0-beta.4 allows attackers to attach a victim's phone number to an attacker-controlled account before verification. When the victim uses a valid OTP to sign in, they are granted access to the attacker's account instead, exposing any data they enter.

Detection Guidance

Check if your better-auth version is within the vulnerable range (>=0.4.12-beta.7 and <1.7.16 or >=1.8.0-beta.0 and <1.8.0-beta.5). Review database entries for unverified phone numbers linked to accounts. Inspect logs for unexpected account associations or OTP sign-in attempts.

Impact Analysis

If exploited, this vulnerability could lead to unauthorized account access, data exposure, or account takeover. Victims may unknowingly share sensitive information with attackers who control the linked account.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, which may violate GDPR's data protection principles (e.g., integrity and confidentiality) and HIPAA's requirements for safeguarding protected health information. Attackers gaining access to victim accounts could expose or manipulate personal data, leading to compliance breaches.

Mitigation Strategies
  • Upgrade better-auth to version 1.7.16 or 1.8.0-beta.5 or later to patch the vulnerability.
  • Clear unverified phone numbers from the database to prevent misuse.
  • Temporarily disable phone number saving in public flows until upgrading.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134322. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...