3.7Low

CVE-2026-110861Better 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 better-auth Published: (1 month ago)

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.

Weakness (CWE): CWE-307

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
better-auth better-auth 1.6.17 – < 1.7.7, fixed 1.7.7
better-auth drizzle-adapter 1.6.17 – < 1.7.7, fixed 1.7.7
better-auth kysely-adapter 1.6.17 – < 1.7.0, fixed 1.7.0

References and patches