What’s Vulnerable › Vulnerabilities

CVE-2026-110861: Better Auth drizzle-adapter 1.6.17 before 1.7.7 Rate Limit Bypass via Race Condition

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.

Affected products

How to fix

Upgrade to a fixed version: Npm @Better-Auth/Drizzle-Adapter 1.7.7; Npm @Better-Auth/Kysely-Adapter 1.7.0; Npm Better-Auth 1.7.7; better-auth 1.7.7; better-auth drizzle-adapter 1.7.7; better-auth kysely-adapter 1.7.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-110861 or the next vulnerability affects your stack