CVE-2026-134311
better-auth 1.3.0 before 1.7.16 Privilege Escalation via admin update-user Phone Number
7.6
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| better-auth | better-auth | 1.3.0 → <1.7.16 | 1.7.16 | CVE.org |
| better-auth | better-auth | 1.8.0-beta.0 → <1.8.0-beta.5 | 1.8.0-beta.5 | CVE.org |