Skip to main content

CVE-2026-110861: Improper Restriction of Excessive Authentication Attempts in better-auth drizzle-adapter

0
Medium
VulnerabilityCVE-2026-110861cvecve-2026-110861
Published: 10/14/2026 (10/14/2026, 22:52:45 UTC)
Source: CVE Database V5
Vendor/Project: better-auth
Product: drizzle-adapter

Description

CVE-2026-110861 is a race condition vulnerability in better-auth's drizzle-adapter and kysely-adapter affecting versions from 1.6.17 up to but not including 1.7.7 and 1.7.0 respectively. The flaw arises from non-atomic rate limit checks and counter updates in PostgreSQL-backed authentication endpoints. This allows remote attackers to bypass rate limits by sending concurrent requests, potentially exceeding limits on password sign-in, two-factor verification, one-time codes, and password resets.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

better-auth

drizzle-adapter

Affected versions
>=1.6.17 <1.7.7

better-auth

kysely-adapter

Affected versions
>=1.6.17 <1.7.0

better-auth

better-auth

Affected versions
>=1.6.17 <1.7.7
better-auth
pkg:npm/better-auth

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 23:18:47 UTC

Technical Analysis

The vulnerability CVE-2026-110861 affects better-auth packages (@better-auth/drizzle-adapter and @better-auth/kysely-adapter) in specified versions. It is caused by a race condition in the database-backed rate limiting mechanism on PostgreSQL, where the check for rate limits is not performed atomically with the update of the request counter. This allows multiple concurrent requests to pass the limit check simultaneously, effectively bypassing the configured rate limits on various authentication-related endpoints.

Potential Impact

Attackers can exploit this race condition to send bursts of concurrent authentication requests that exceed the intended rate limits. This could lead to increased risk of brute force or credential stuffing attacks on password sign-in, two-factor authentication, one-time code verification, and password reset functionalities. However, the CVSS score of 6.3 and the medium severity rating indicate that exploitation requires some conditions such as high attack complexity and partial attack prerequisites.

Mitigation Recommendations

The vulnerability affects versions >=1.6.17 and <1.7.7 for drizzle-adapter and >=1.6.17 and <1.7.0 for kysely-adapter. Users should upgrade to versions 1.7.7 or later for drizzle-adapter and 1.7.0 or later for kysely-adapter where this race condition is fixed. No vendor advisory content was provided to indicate otherwise. Patch status is confirmed by the version ranges indicating fixed versions. Applying these updates will mitigate the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-14T22:18:33.239Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad00a672cdf04f656ba02ff

Added to database: 10/14/2026, 23:04:07 UTC

Last enriched: 10/14/2026, 23:18:47 UTC

Last updated: 10/14/2026, 23:20:01 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses