CVE-2026-134311
Deferred Deferred - Pending Action

Incorrect Authorization in Better-Auth Admin Plugin Allows Privilege Escalation

Vulnerability report for CVE-2026-134311, 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 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.

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 3 associated CPEs
Vendor Product Version / Range
better-auth better-auth to 1.7.16 (exc)
better-auth better-auth From 1.8.0-beta.0 (exc) to 1.8.0-beta.5 (exc)
better-auth better-auth to 1.8.0-beta.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the better-auth library versions below 1.7.16 and between 1.8.0-beta.0 to 1.8.0-beta.4. It allows users with the user:update role to modify another user's phone number and phoneNumberVerified fields without needing a separate permission. Attackers can set a verified phone number on a higher-privileged account and gain access via phone OTP, potentially escalating their privileges.

Detection Guidance

Check if your better-auth version is below 1.7.16 or between 1.8.0-beta.0 and 1.8.0-beta.4. Inspect admin plugin logs for unauthorized /admin/update-user endpoint requests modifying phoneNumber fields. Look for user:update role assignments without proper restrictions.

Impact Analysis

If exploited, this vulnerability could allow attackers to take over higher-privileged accounts by setting a verified phone number and signing in via phone OTP. This could lead to unauthorized access, privilege escalation, and potential data breaches or system compromise.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. It may result in non-compliance due to potential data breaches and lack of proper authorization controls.

Mitigation Strategies

Upgrade better-auth to version 1.7.16 or 1.8.0-beta.5. Remove user:update permissions from roles that should not modify sign-in details. Implement server-side validation to reject phone number changes before they reach Better Auth.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134311. 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...