Better Auth drizzle-adapter 1.6.17 before 1.7.7 Rate Limit Bypass via Race Condition
better-auth drizzle-adapter · better-auth kysely-adapter · better-auth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @better-auth/drizzle-adapter npm |
|
|
| @better-auth/kysely-adapter npm |
|
|
| better-auth npm |
|
|
Original 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.
From the CVE record · VulnCheck
References
- github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf
- vulncheck.com/advisories/better-auth-drizzle-adapter-1.6.17-before-1.7.7-rate-limit-bypass-via-race-condition
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110861.json
- nvd.nist.gov/vuln/detail/CVE-2026-110861
- github.com/better-auth/better-auth/pull/11331
- github.com/better-auth/better-auth/commit/35d7cd389220f99cfc98ac699e6a42b48313a740
- github.com/better-auth/better-auth
- github.com/better-auth/better-auth/releases/tag/v1.7.7