Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with limited user:update role
-
DeliveryCall /admin/update-user targeting victim
-
ExploitSet attacker's verified phoneNumber on account
-
ExecutionSign in via phone OTP
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Better Auth
View allBetter Auth is an authentication library for TypeScript. Rated high severity (CVSS 7.9), this vulnerability is remotely
Authorization bypass in the @better-auth/oauth-provider plugin for Better Auth (versions >= 1.4.8-beta.7 and < 1.6.5, pl
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
Authentication bypass in Better Auth before 1.6.11 stems from insecure cryptographic defaults in the legacy oidcProvider
Denial of service in Better Auth (npm) before 1.4.2 lets an unauthenticated remote attacker poison the router's base pat
Unauthenticated OAuth state values can be redeemed as Magic Link tokens in Better Auth 1.4.0-beta.18 through 1.7.6, lett
Authentication bypass in Better Auth's OAuth Proxy plugin (versions 1.5.0-beta.12 through 1.7.6) lets unauthenticated re
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
Path normalization bypass in Better Auth before v1.4.5 allows unauthenticated remote attackers to circumvent `disabledPa
Authorization bypass in @better-auth/scim versions 1.5.0 through 1.7.0-beta.3 allows any authenticated user to fully tak
Pre-account hijacking in better-auth (npm) allows a remote attacker to gain persistent, password-based access to any vic
Multiple authentication bypass vulnerabilities in @better-auth/sso before version 1.6.21 enable low-privileged attackers
EUVD-2026-132249
GHSA-w8gv-jf2g-8945
NVD
CVE.org
EPSS
Exploit-DB