Patch Ticker
EnglishEN
Elevated

better-auth phone number sign-in allows account takeover

CVE-2026-134322 and 7 more

Sites using phone number sign-in let attackers take over accounts.

CVE
CVE-2026-134322 and 7 more
Score
CVSS 8.6 · CVE-2026-134322
Public date
2026-11-03
First seen
8.6
Products

Mitigation

Update the 1.7 line to better-auth 1.7.16, and the 1.8.0 beta line (1.8.0-beta.0 to 1.8.0-beta.4) to 1.8.0-beta.5. Until then, stop public flows from saving phoneNumber and clear unverified numbers.

Update to at least the version for your product:

  • better-auth 1.7 line 1.7.16 or later
  • better-auth 1.8.0 beta line 1.8.0-beta.5 or later

Can't update yet?

Add this line to the config file:

UPDATE "user" SET "phoneNumber" = NULL WHERE "phoneNumber" IS NOT NULL AND "phoneNumberVerified" IS NOT TRUE;

A wrong setting can stop the service or lock you out. Check the source links below first.

Summary

The better-auth phone number plugin saves unverified phone numbers on accounts, so an attacker can attach a victim's number to an attacker-controlled account. The same update also fixes session mix-up, privilege escalation and email change flaws.

Affected when

  • CVE-2026-134322 phone number plugin in use
  • CVE-2026-134321 secondaryStorage or cookieCache in use
  • CVE-2026-134313 serial IDs on MySQL or MariaDB
  • CVE-2026-134311 a role with user:update in the admin plugin exists
  • CVE-2026-134315 user-initiated email change enabled
  • CVE-2026-134312 OAuth sign-in in use
  • CVE-2026-134318 a non-creator role able to invite exists
  • CVE-2026-134314 emailOTP plugin in use

1 other Incident of this product in the last 30 days

Incidents by product: better-auth · drizzle-adapter · kysely-adapter

Other recent Incidents of better-auth

8 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 8 CVEs (every link below opens in a new tab)

Show 5 more