CVE-2026-134314
published medium CVSS 4.0 · 6.3better-auth from 1.3.7 before 1.7.16 Email OTP Race Condition and Authentication Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth1.3.7 to < 1.7.16 (affected · semver) · 1.7.16 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| better-auth | — | better-auth1.8.0-beta.0 to < 1.8.0-beta.5 (affected · semver) · 1.8.0-beta.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | 1.3.7 to < 1.7.16 (affected · semver)1.7.16 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| better-auth | better-auth | 1.8.0-beta.0 to < 1.8.0-beta.5 (affected · semver)1.8.0-beta.5 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-307 Improper Restriction of Excessive Authentication Attempts
References
2- GitHub Security Advisory (GHSA-2f9c-7xj7-gh55) https://github.com/better-auth/better-auth/security/advisories/GHSA-2f9c-7xj7-gh55
- VulnCheck Advisory: better-auth from 1.3.7 before 1.7.16 Email OTP Race Condition and Authentication Bypass https://www.vulncheck.com/advisories/better-auth-from-1.3.7-before-1.7.16-email-otp-race-condition-and-authentication-bypass
Provider assertions
2VulnCheck · cna
better-auth from 1.3.7 before 1.7.16 Email OTP Race Condition and Authentication Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 38731cf7dea6fd3cbfa9be002ac98c6592a3c1bad9b47c32f336ebee371fcf69
- Ingested
- 25 Nov 2026, 21:39:55 UTC
- Source record
- Official CVE record