{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3.7"
                  },
                  {
                    "fixed": "1.7.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.8.0-beta.0"
                  },
                  {
                    "fixed": "1.8.0-beta.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "52c3fa9af51a784f7166e36f186cf3234d4d0e93"
            },
            {
              "fixed": "93edae16ebae910f57df360d0f43c2dcfa9f8c20"
            },
            {
              "introduced": "be781d5fd26aa4719f5f4fa3ebd767736d4883b1"
            },
            {
              "fixed": "9f1ba5cf4e1fb13357a5b294b18828ef5a1b7c47"
            }
          ],
          "repo": "https://github.com/better-auth/better-auth",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2f9c-7xj7-gh55"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-307"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134314.json"
  },
  "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.",
  "id": "CVE-2026-134314",
  "modified": "2026-11-21T17:45:53.194968804Z",
  "published": "2026-11-21T16:34:54.856Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "better-auth from 1.3.7 before 1.7.16 Email OTP Race Condition and Authentication Bypass"
}