CVE-2026-134311 better-auth 1.3.0 before 1.7.16 Privilege Escalation via admin update-user Phone Number

Published Updated

Users with user-update role can set another admin's verified phone number and take over that account via OTP; better-auth deployments should care.

CVSS score

High

7.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
Any signed-in user, no user action

What is CVE-2026-134311?

CVE-2026-134311 is a high-severity privilege escalation vulnerability in better-auth, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

better-auth 1.3.0 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an incorrect authorization vulnerability in the admin plugin's /admin/update-user endpoint that lets roles holding user:update change another user's phoneNumber and phoneNumberVerified fields. Attackers can set their own verified phone number on a higher-privileged account and sign in via phone OTP to take it over.

Weakness: CWE-863

How severe is CVE-2026-134311?

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

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

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

Which versions are affected by CVE-2026-134311?

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

Only installations with a non-default setting turned on are exposed.

PackageAffectedFixed in
better-auth npm
pkg:npm/better-auth
From 1.3.01.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-134311?

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

Upgrade, and run services with the fewest rights they need. More about Privilege escalation.

Is CVE-2026-134311 being exploited?

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

Sources

Also known as GHSA-g95c-wqvr-8c3j, GHSA-w8gv-jf2g-8945.

Is CVE-2026-134311 in your software?

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

Check your SBOMs for free