CVE-2026-134322 better-auth 0.4.12-beta.7 before 1.7.16 Unverified Phone Number Account Takeover
HighCVSS 8.6
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
Description
better-auth 0.4.12-beta.7 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability in the phone number plugin that lets sign-up and other flows save unverified phone numbers, which phone OTP sign-in then uses to select the account. Attackers can attach a victim's number to an attacker-controlled account so the victim's valid OTP sign-in yields a session for that account, exposing data the victim then enters.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm better-auth | >= 0.4.12-beta.7, < 1.7.16; >= 1.8.0-beta.0, < 1.8.0-beta.5 | 1.7.16, 1.8.0-beta.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm better-auth | >= 0.4.12-beta.7, < 1.7.16 | 1.7.16 |
| npm better-auth | >= 1.8.0-beta.0, < 1.8.0-beta.5 | 1.8.0-beta.5 |
References
- GitHub Security Advisory (GHSA-q747-mqgr-4gh7) vendor-advisory
- VulnCheck Advisory: better-auth 0.4.12-beta.7 before 1.7.16 Unverified Phone Number Account Takeover third-party-advisory
- ENISA EUVD EUVD-2026-132259 third-party-advisory
- nvd.nist.gov