Skip to main content
CVE-2026-134314VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-134314· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 1.7.16 when convenient.

Data as of 21 Nov 2026, 19:58 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.3
CNA (VulnCheck)CVSS 3.14.8
Patch
Available – fixed in 1.7.16, 1.8.0-beta.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade better-auth to 1.7.16; better-auth to 1.8.0-beta.5; better-auth to 1.8.0-beta.5 or 1.7.16.

Affected software

ProductAffectedFixed in
better-authbetter-authAffected
  • >=1.3.7 <1.7.16
Fixed in
  • 1.7.16
better-authbetter-authAffected
  • >=1.8.0-beta.0 <1.8.0-beta.5
Fixed in
  • 1.8.0-beta.5
npmbetter-authpkg:npm/better-authOther threatsAffected
  • >=1.3.7 <1.7.16
  • >=1.8.0-beta.0 <1.8.0-beta.5
Fixed in
  • 1.7.16
  • 1.8.0-beta.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, limit concurrent OTP attempts if possible and monitor for suspicious authentication activity. Avoid relying solely on emailOTP for authentication in affected versions.

Description

better-auth versions 1.3.7 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contain a race condition vulnerability in the emailOTP plugin. This flaw allows unauthenticated attackers to bypass allowed attempt limits by sending concurrent guesses, potentially enabling brute-force attacks on one-time passwords (OTPs) for sign-in or password resets. Additionally, signed-in users can verify email addresses they do not own, and attackers receiving mail at accent-variant email addresses can reset victims' passwords.

References

Community reviews

Loading reviews…