{"id":"CVE-2026-134314","summary":"better-auth from 1.3.7 before 1.7.16 Email OTP Race Condition and Authentication Bypass","details":"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.","aliases":["GHSA-2f9c-7xj7-gh55"],"modified":"2026-11-21T18:00:19.890852266Z","published":"2026-11-21T16:34:54.856Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134314.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-307"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134314.json"},{"type":"ADVISORY","url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-2f9c-7xj7-gh55"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134314"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/better-auth-from-1.3.7-before-1.7.16-email-otp-race-condition-and-authentication-bypass"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/better-auth/better-auth","events":[{"introduced":"52c3fa9af51a784f7166e36f186cf3234d4d0e93"},{"fixed":"93edae16ebae910f57df360d0f43c2dcfa9f8c20"},{"introduced":"be781d5fd26aa4719f5f4fa3ebd767736d4883b1"},{"fixed":"9f1ba5cf4e1fb13357a5b294b18828ef5a1b7c47"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.3.7"},{"fixed":"1.7.16"}]},{"range":[{"introduced":"1.8.0-beta.0"},{"fixed":"1.8.0-beta.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v1.8.0-beta.4","v1.8.0-beta.3","v1.8.0-beta.2","v1.8.0-beta.1","v1.8.0-beta.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134314.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}