Better Auth drizzle-adapter 1.6.17 before 1.7.7 Rate Limit Bypass via Race Condition (better-auth drizzle-adapter)

CVE-2026-110861
MEDIUM 6.3

At a glance

Source
NVD
EPSS
EPSS 0.22 % Β· percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
NVD status
Awaiting Analysis

Description

Better Auth @better-auth/drizzle-adapter and better-auth from 1.6.17 before 1.7.7, and @better-auth/kysely-adapter from 1.6.17 before 1.7.0, contain a race condition in database-backed rate limiting on PostgreSQL where the limit check is not atomic with the counter update. Remote attackers can send bursts of concurrent requests that pass the check together, exceeding configured limits on password sign-in, two-factor verification, one-time code, password reset, and other rate-limited endpoints.

Weaknesses (CWE)

  • CWE-307 β€” Improper Restriction of Excessive Authentication Attempts

References

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 6.3CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
CVSS 3.1LOW 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NVulnCheck
CVSS 4.0MEDIUM 6.3CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD Β· disclosure@vulncheck.com (Secondary)
CVSS 3.1LOW 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NNVD Β· disclosure@vulncheck.com (Secondary)

Advisories

European references

Affected products

ProductVersions
better-auth Β· drizzle-adapteraffected 1.6.17 < 1.7.7 ; unaffected 1.7.7
better-auth Β· kysely-adapteraffected 1.6.17 < 1.7.0 ; unaffected 1.7.0
better-auth Β· better-authaffected 1.6.17 < 1.7.7 ; unaffected 1.7.7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD