Skip to content

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

MediumCVSS 6.3 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
better-auth @better-auth/drizzle-adapter >= 1.6.17, < 1.7.7 1.7.7 Fixed
better-auth @better-auth/drizzle-adapter(npm) >= 1.6.17, < 1.7.7 1.7.7 Fixed
better-auth @better-auth/kysely-adapter >= 1.6.17, < 1.7.0 1.7.0 Fixed
better-auth @better-auth/kysely-adapter(npm) >= 1.6.17, < 1.7.0 1.7.0 Fixed
npm better-auth >= 1.6.17, < 1.7.7 1.7.7 Fixed
npm better-auth(npm) >= 1.6.17, < 1.7.7 1.7.7 Fixed

Affected products

ProductAffected versionsFixed in
better-auth @better-auth/drizzle-adapter >= 1.6.17, < 1.7.7 1.7.7
better-auth @better-auth/kysely-adapter >= 1.6.17, < 1.7.0 1.7.0
npm better-auth >= 1.6.17, < 1.7.7 1.7.7
better-auth @better-auth/drizzle-adapter(npm) >= 1.6.17, < 1.7.7 1.7.7
better-auth @better-auth/kysely-adapter(npm) >= 1.6.17, < 1.7.0 1.7.0
npm better-auth(npm) >= 1.6.17, < 1.7.7 1.7.7

References