Public mode

No access to your tenant or devices. Every item links to its source. What this means

Some sources, documents or advisories need attention: 272/272 feeds/APIs · 469/469 docs · 7/9 advisories · checked 13:48 UTC Customize Public modeDiscuss ChangeIntel on Discord

@better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL

Exact source revision recorded 27 Oct 2026 16:44:03 UTC. It does not establish the source's current position. Latest evidence.

osv · GHSA-44jh-23m7-hpcf

Published

## Am I affected? You are affected if you use `@better-auth/drizzle-adapter` from 1.6.17 through versions before 1.7.7 (including the 1.7.0 prereleases from beta.6 through rc.6) or `@better-auth/kysely-adapter` 1.6.17 through 1.6.31, and keep rate-limit records in a PostgreSQL database. All of these must be true: - Rate limiting is enabled. - Rate-limit records are stored in the database. - The database is PostgreSQL, used through one of the adapter versions above. You are not affected if you store rate-limit records in memory (the default) or in secondary storage. ## Summary Database-backed rate limiting on PostgreSQL can let a burst of concurrent requests go over the configured maximum. When many requests arrive at the same time, several of them can pass the limit check together. This weakens the rate limit on password sign-in, two-factor verification, one-time codes, password resets, and other rate-limited endpoints. ## Impact An attacker who sends many requests at once can make more attempts than the application allows. The issue does not bypass password or one-time-code validation. It does not directly compromise an account. The number of extra attempts is limited by the number of concurrent database connections, the number of application instances, and the rate-limit window. ## Patches `@better-auth/kysely-adapter` is fixed in 1.7.0. Upgrade to 1.7.0 or later. The Drizzle fix is merged for the planned `@better-auth/drizzle-adapter` 1.7.7 release. That package is not available yet. Upgrade `better-auth` and the installed Drizzle adapter together when 1.7.7 is available. No database schema or public API migration is required. ## Workarounds - Store rate-limit records in secondary storage. - Use a custom rate-limit storage that checks and increments the counter in one atomic step. An atomic step cannot be interrupted by another request. - Enforce the intended limit at an upstream layer, such as a reverse proxy or gateway. In-memory storage also avoids this issue. However, each application instance keeps its own counter, so it may not enforce one shared limit in multi-instance or serverless deployments.

Source published
27 Oct 2026 15:32:25 UTC
Source modified
27 Oct 2026 15:47:24 UTC
Observed here
27 Oct 2026 16:44:03 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · GitHub Advisory Database · CC-BY-4.0. Source text is retained; field grouping and change labels are provided by ChangeIntel.

CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Publisher rating · LOW

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 30 Oct 13:48 UTC · 272 of 272 readable · 271 fully read · documentation 469/469 current