CVE-2026-134311 Details
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.
A vulnerability allowing incorrect authorization has been identified in better-auth versions 1.3.0 prior to 1.7.16 and 1.8.0-beta.0 prior to 1.8.0-beta.5. The issue resides in the admin plugin's /admin/update-user endpoint, where roles with the user:update permission can modify another user's phoneNumber and phoneNumberVerified fields. This flaw enables an attacker to replace the phone number on a higher-privileged account with their own verified number, facilitating account takeover via phone OTP authentication.
Users can upgrade to better-auth version 1.7.16 or 1.8.0-beta.5. After updating, the admin update-user endpoint will require the user:set-phone permission to modify phone-related fields. If custom access control is in place, the set-phone permission should be added to the relevant roles. Alternatively, remove the user:update permission from roles that should not have the ability to change phone numbers or implement a server-side check to reject phone number updates in requests to the admin update-user endpoint.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| better-auth | >= 1.3.0, < 1.7.16 (semver) >= 1.8.0-beta.0, < 1.8.0-beta.5 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion