
Cloud Vulnerability DB
A community-led vulnerabilities database
You are affected if all of these are true:
better-auth.user:update permission.
You are not affected if only full administrators can update users.The admin update-user endpoint requires a separate permission to change a user's email address, but not to change their phone number. A role allowed to edit user profiles could set another user's phone number and mark it as verified.
A user with a limited role that holds user:update can put their own phone number on another user's account and then sign in to that account with a phone OTP. This gives them the other user's session, including accounts with more privileges than their own.
Upgrade better-auth to 1.7.16, or to 1.8.0-beta.5 on the beta line.
Changing phoneNumber or phoneNumberVerified through update-user now needs the new user:set-phone permission. The default admin role has it. If you use custom access control, add set-phone to your statements and grant it to the roles that should change phone numbers.
Remove user:update from roles that should not change sign-in details, or reject phoneNumber and phoneNumberVerified in requests to /admin/update-user before they reach Better Auth.
/admin/update-user checked user:set-email before changing the email address, but passed phone fields through with only user:update. It now checks user:set-phone when either phone field is present.
Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-938BEJ5J.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."