Skip to main content

Better Auth EUVDEUVD-2026-132249

| CVE-2026-134311 HIGH
Incorrect Authorization (CWE-863)
2026-11-21 VulnCheck GHSA-w8gv-jf2g-8945
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with limited user:update role
  2. Delivery
    Call /admin/update-user targeting victim
  3. Exploit
    Set attacker's verified phoneNumber on account
  4. Execution
    Sign in via phone OTP
  5. Impact
    Hijack higher-privileged session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a non-default configuration: the deployment must load BOTH the better-auth admin plugin AND the phone number plugin, AND a role OTHER than the full admin role must hold the user:update permission. The attacker must be authenticated as that limited role (PR:L) and the victim account must be reachable via phone OTP sign-in. Deployments where only full administrators can update users are explicitly not affected. Limiting factors that reduce real-world exposure: required prior authentication with a privileged role, dependence on custom access-control granting user:update broadly, and the need for phone-OTP login to be enabled - all consistent with the AC:H/AT:P/PR:L metrics.

Impact

This is a real but conditional priority rather than a drop-everything emergency. The CVSS 4.0 score of 7.6 (vendor-supplied vector AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N) reflects a network-reachable account-takeover flaw, but three of its metrics temper the real-world risk: AC:H and AT:P indicate the attack is not trivially repeatable and depends on a specific precondition, and PR:L means the attacker must already be authenticated with a privileged-but-limited role. The GHSA advisory confirms this precisely - only deployments that use BOTH the admin plugin and the phone number plugin, AND that grant user:update to a non-full-admin role, are exploitable. No EPSS score is provided in the input and the issue is not in CISA KEV, so there is no signal of widespread or automated exploitation; the vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency disposition. No public exploit code is referenced. The signals are internally consistent: a genuine privilege-escalation/account-takeover bug (CWE-863) that matters most to organizations running custom RBAC on better-auth, but one gated behind a non-default permission configuration rather than exploitable against stock installs.

Exploit ScenarioDerived

An attacker who holds a limited admin role carrying the user:update permission calls the /admin/update-user endpoint against a higher-privileged victim account and sets their own phone number as verified, because that endpoint checked user:set-email for email changes but only user:update for phone fields. They then authenticate to the victim's account via phone OTP, inheriting the victim's session and elevated privileges. No public exploit code is referenced; the CVSS AC:H/AT:P/PR:L vector reflects that this requires prior authenticated access and a specific permission configuration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Privilege escalation in better-auth lets a role holding the user:update permission change another account's phoneNumber and phoneNumberVerified fields through /admin/update-user, then authenticate as that victim via phone OTP. Affects better-auth 1.3.0 through 1.7.15 and 1.8.0-beta.0 through 1.8.0-beta.4 only when both the admin plugin and phone number plugin are loaded and a non-admin role holds user:update; the attacker must already be authenticated as that limited role. This is a real but conditional priority rather than a drop-everything emergency, and no public exploit was identified at time of analysis.

RemediationAI

Upgrade better-auth to 1.7.16, or to 1.8.0-beta.5 on the beta line; the fix makes phoneNumber and phoneNumberVerified changes through /admin/update-user require the new user:set-phone permission, which the default admin role already holds. If you use custom access control, add set-phone to your statements and grant it only to roles that should change phone numbers, and verify that roles with user:update no longer need it for unrelated profile edits. As workarounds before upgrading, remove user:update from roles that should not change sign-in details-accepting that this may break legitimate profile-editing workflows-or reject requests to /admin/update-user that contain phoneNumber or phoneNumberVerified before they reach Better Auth, which adds a filtering layer that must be kept in place until the upgrade is confirmed. Vendor advisory: https://github.com/better-auth/better-auth/security/advisories/GHSA-g95c-wqvr-8c3j.

Affected VersionsENISA

better-auth 1.8.0-beta.0 <1.8.0-beta.5
better-auth 1.3.0 <1.7.16

Affected Packages

euvd better_auth fix: 1.7.16, 1.8.0-beta.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

better-auth is a TypeScript/JavaScript authentication library for Node.js applications, and the flaw sits in the admin plugin's /admin/update-user handler (CWE-863, incorrect authorization). The endpoint correctly required the dedicated user:set-email permission before modifying an email address, but it passed phoneNumber and phoneNumberVerified through with only the broader user:update permission; the fix introduces a parallel user:set-phone permission and enforces it whenever either phone field is present. Exploitation therefore depends on a specific deployment shape: both the admin plugin and the phone number plugin must be enabled, a role other than the full administrator role must be granted user:update, and phone-OTP sign-in must be available for the targeted account, which is consistent with the assessed CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N vector and its AC:H/AT:P metrics. The trigger is an authenticated request to /admin/update-user that supplies phone fields for a different user; no memory corruption or unauthenticated path is described.

Know when Better Auth gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.6 HIGH
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
vuln.today AI 6.8 MEDIUM

Requires an authenticated limited role with user:update plus the phone plugin enabled (PR:L, AC:H for the non-default precondition); account takeover yields C:H/I:H with no availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:34 cve.org
HIGH 7.6

DescriptionCVE.org

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.

Technical POC Analysis

Evidence caveat: the only supplied artifact is advisory GHSA-g95c-wqvr-8c3j.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in better-auth (versions 1.3.0 through 1.7.15 and 1.8.0-beta.0 through 1.8.0-beta.4) allows an authenticated user with the user:update permission to take over another account by modifying phone number fields and authenticating via OTP. This impacts organizations using better-auth with both the admin and phone number plugins enabled, potentially enabling unauthorized access to sensitive accounts and data. Leadership should care because this could lead to account compromise and data breaches, though the attack requires specific preconditions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling the phone number plugin if not essential, restricting the user:update permission to only fully trusted administrator roles, and implementing additional monitoring and alerting for phone number changes and OTP authentications.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular TypeScript/npm auth library, significant adoption but not universal
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-56734 HIGH POC
7.9 Dec 30

Better Auth is an authentication library for TypeScript. Rated high severity (CVSS 7.9), this vulnerability is remotely

CVE-2026-41427 HIGH POC
7.1 Apr 24

Authorization bypass in the @better-auth/oauth-provider plugin for Better Auth (versions >= 1.4.8-beta.7 and < 1.6.5, pl

CVE-2026-67330 CRITICAL
9.4 Aug 01

Privilege-escalating account takeover in the @better-auth/scim plugin (versions 1.4.0-beta.27 through 1.6.21 and 1.7.0-b

CVE-2026-67336 CRITICAL
9.4 Aug 01

Authentication bypass in Better Auth before 1.6.11 stems from insecure cryptographic defaults in the legacy oidcProvider

CVE-2025-71401 CRITICAL
9.3 Aug 02

Denial of service in Better Auth (npm) before 1.4.2 lets an unauthenticated remote attacker poison the router's base pat

CVE-2026-114607 CRITICAL
9.1 Oct 22

Unauthenticated OAuth state values can be redeemed as Magic Link tokens in Better Auth 1.4.0-beta.18 through 1.7.6, lett

CVE-2026-110864 CRITICAL
9.1 Oct 14

Authentication bypass in Better Auth's OAuth Proxy plugin (versions 1.5.0-beta.12 through 1.7.6) lets unauthenticated re

CVE-2026-121802 CRITICAL
9.1 Nov 04

Account takeover in @better-auth/expo (1.4.0-beta.6 through 1.7.15, and 1.8.0-beta.0 through 1.8.0-beta.4) lets an unaut

CVE-2025-71399 HIGH
8.8 Aug 02

Path normalization bypass in Better Auth before v1.4.5 allows unauthenticated remote attackers to circumvent `disabledPa

CVE-2026-67331 HIGH
8.7 Aug 01

Authorization bypass in @better-auth/scim versions 1.5.0 through 1.7.0-beta.3 allows any authenticated user to fully tak

CVE-2026-67327 HIGH
8.7 Aug 01

Pre-account hijacking in better-auth (npm) allows a remote attacker to gain persistent, password-based access to any vic

CVE-2026-67328 HIGH
8.6 Aug 01

Multiple authentication bypass vulnerabilities in @better-auth/sso before version 1.6.21 enable low-privileged attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy