CVE-2026-110861Better Auth drizzle-adapter 1.6.17 before 1.7.7 Rate Limit Bypass via Race Condition
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @better-auth/drizzle-adapter | Fixed | 1.7.7 | GHSA-44jh-23m7-hpcf |
| npm library | @better-auth/kysely-adapter | Fixed | 1.7.0 | GHSA-44jh-23m7-hpcf |
| npm library | better-auth | Fixed | 1.7.7 | GHSA-44jh-23m7-hpcf |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- better-auth drizzle-adapter: affected: 1.6.17 to before 1.7.7, 1.7.7 not affected; fixed in
1.7.7 - better-auth kysely-adapter: affected: 1.6.17 to before 1.7.0, 1.7.0 not affected; fixed in
1.7.0 - better-auth: affected: 1.6.17 to before 1.7.7, 1.7.7 not affected; fixed in
1.7.7
Vendor advisories:
- https://github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf (vendor-advisory)
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf
- https://www.vulncheck.com/advisories/better-auth-drizzle-adapter-1.6.17-before-1.7.7-rate-limit-bypass-via-race-condition
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.