CVE-2026-134322 better-auth 0.4.12-beta.7 before 1.7.16 Unverified Phone Number Account Takeover

Published Updated

Attackers can attach a victim's phone number to their account so the victim's OTP sign-in yields a session for that attacker account; better-auth users should care.

CVSS score

High

8.6/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
1.8.0-beta.5, 1.7.16
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-134322?

CVE-2026-134322 is a high-severity authentication bypass vulnerability in better-auth, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-287

How severe is CVE-2026-134322?

CVE-2026-134322 scores 8.6 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134322?

2 open source packages ship an affected version, including better-auth.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

PackageAffectedFixed in
better-auth npm
pkg:npm/better-auth
From 0.4.12-beta.71.7.16
better-auth npm
pkg:npm/better-auth
From 1.8.0-beta.01.8.0-beta.5

How do I fix CVE-2026-134322?

Upgrade better-auth to a fixed version for your release line: 1.8.0-beta.5 or 1.7.16.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-134322 being exploited?

There is no known exploitation of CVE-2026-134322 in the wild and no public exploit code.

Sources

Also known as GHSA-cm25-j9rr-5r3r, GHSA-q747-mqgr-4gh7.

Is CVE-2026-134322 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free