CVE-2026-134314 better-auth from 1.3.7 before 1.7.16 Email OTP Race Condition and Authentication Bypass

Published Updated

Unauthenticated attackers can brute-force email OTPs in better-auth's emailOTP plugin to sign in or reset passwords; apps using that plugin should care.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
1.8.0-beta.5, 1.7.16
Attack path
Over the internet
No login, no user action

What is CVE-2026-134314?

CVE-2026-134314 is a medium-severity authentication bypass vulnerability in better-auth, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

better-auth 1.3.7 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a race condition in the emailOTP plugin attempt counter, collision-prone email change code keys, and accent-insensitive email lookups. Unauthenticated attackers can send concurrent guesses exceeding allowedAttempts to brute-force OTPs and sign in or reset passwords, signed-in users can verify addresses they do not own, and attackers receiving mail at accent-variant addresses can reset victims' passwords.

Weakness: CWE-307

How severe is CVE-2026-134314?

CVE-2026-134314 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134314?

2 open source packages ship an affected version, including better-auth.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

PackageAffectedFixed in
better-auth npm
pkg:npm/better-auth
From 1.3.71.7.16
better-auth npm
pkg:npm/better-auth
From 1.8.0-beta.01.8.0-beta.5

How do I fix CVE-2026-134314?

Upgrade better-auth to a fixed version for your release line: 1.8.0-beta.5 or 1.7.16.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-134314 being exploited?

There is no known exploitation of CVE-2026-134314 in the wild and no public exploit code.

Sources

Also known as GHSA-2f9c-7xj7-gh55, GHSA-9gmg-p4gm-x8mj.

Is CVE-2026-134314 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free