CVE-2026-134311

better-auth 1.3.0 before 1.7.16 Privilege Escalation via admin update-user Phone Number

High published · updated

7.6
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
better-auth better-auth 1.3.0 → <1.7.161.7.16 CVE.org
better-auth better-auth 1.8.0-beta.0 → <1.8.0-beta.51.8.0-beta.5 CVE.org

References