Skip to content
Medium 7.6

better-authの管理者機能に権限昇格の脆弱性、電話番号の変更で別アカウントを乗っ取られるおそれ

CVE-2026-134311 First seen on SecPulse

Summary

better-authの管理プラグインで、user:update権限を持つ利用者が別ユーザーの電話番号と電話番号の確認状態を変更できる脆弱性が見つかりました。攻撃者は自分の確認済み電話番号を上位権限のアカウントに設定し、電話番号のワンタイムパスワードでログインして乗っ取るおそれがあります。影響を受けるのは1.8.0-beta.0以降1.8.0-beta.5未満で、1.8.0-beta.5以降に修正版が公開されています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

better-authの管理プラグインで、user:update権限を持つ利用者が別ユーザーの電話番号と電話番号の確認状態を変更できる脆弱性が見つかりました。攻撃者は自分の確認済み電話番号を上位権限のアカウントに設定し、電話番号のワンタイムパスワードでログインして乗っ取るおそれがあります。影響を受けるのは1.8.0-beta.0以降1.8.0-beta.5未満で、1.8.0-beta.5以降に修正版が公開されています。

Affected packages

PackageAffected → Fixed
better-authbetter-auth
≥ 1.8.0-beta.0, < 1.8.0-beta.5→ 1.8.0-beta.5
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details