CVE-2026-134322 Details
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.
An improper authentication vulnerability has been identified in the better-auth library versions 0.4.12-beta.7 prior to 1.7.16, as well as 1.8.0-beta.0 prior to 1.8.0-beta.5. The vulnerability resides in the phone number plugin, where unverified phone numbers can be saved during sign-up and other processes. This allows attackers to link a victim's phone number to an account they control. When the victim later signs in using a valid one-time password (OTP) sent to their phone, they inadvertently gain access to the attacker's account, exposing any data entered during the session.
Users are advised to upgrade better-auth to version 1.7.16 or 1.8.0-beta.5. Version 1.7.16 prevents the saving of unverified phone numbers, while 1.8.0-beta.5 requires proof of ownership for numbers saved before the upgrade. It is also recommended to clear unverified phone numbers from the database before upgrading.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| better-auth | >= 0.4.12-beta.7, < 1.7.16 (semver) >= 1.8.0-beta.0, < 1.8.0-beta.5 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion