KEVWire

Security intelligence, with context.

Response snapshot Oct 27, 2026, 16:01 UTC

Back to the wire
Permalink
VulnerabilityGHSA-44jh-23m7-hpcf

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

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:

At a glance

Exploited
Not known
Severity
Not scored yet
Chance of exploitation
Not estimated
Sources
1 source

What to do

GitHub lists first patched versions: @better-auth/drizzle-adapter: 1.7.7; @better-auth/kysely-adapter: 1.7.0; better-auth: 1.7.7. Confirm the affected range and upgrade guidance in the exact advisory.

Read GitHub-reviewed advisory GHSA-44jh-23m7-hpcf (opens a new tab)

What happened

## 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.

Continue reading

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.

Affected package ranges reported by GitHub: @better-auth/drizzle-adapter: >= 1.6.17, < 1.7.7 @better-auth/kysely-adapter: >= 1.6.17, < 1.7.0 better-auth: >= 1.6.17, < 1.7.7

Related technology

Sources

  1. Primary source

    GitHub-reviewed advisory GHSA-44jh-23m7-hpcf (opens a new tab)

    The public advisory supplies the description, affected package/version ranges, and any listed CVSS metric. GitHub review is not local review.

    Published Checked

  2. Primary source

    GitHub public advisory API page (opens a new tab)

    The API page supplied GHSA-44jh-23m7-hpcf, its actual identifiers, source dates, and structured metrics.

    Published Date not suppliedChecked

Cite this record

For factual claims, cite the primary sources above; cite KEVWire for its compilation, dates, and classifications.

APA

KEVWire. (2026, October 27). @better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL. https://kevwire.com/record/GHSA-44jh-23m7-hpcf

MLA

"@better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL." KEVWire, 27 Oct. 2026, kevwire.com/record/GHSA-44jh-23m7-hpcf.

Chicago

KEVWire. "@better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL." Last modified October 27, 2026. https://kevwire.com/record/GHSA-44jh-23m7-hpcf.

Evidence summary (plain text)

@better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL (Oct 27, 2026).
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:
Sources:
GitHub-reviewed advisory GHSA-44jh-23m7-hpcf: https://github.com/advisories/GHSA-44jh-23m7-hpcf
GitHub public advisory API page: https://api.github.com/advisories?type=reviewed&per_page=100&sort=updated&direction=desc
Record ID: GHSA-44jh-23m7-hpcf.
Record origin: Ingested record.
AI evidence: Not assessed.
Known exploitation: Not assessed.
Zero-day status: Not assessed. KEV membership alone does not establish zero-day status.
About this data

This record was ingested from a data source. Retrieved: Oct 27, 2026, 16:00 UTC. Ingestion is not an independent editorial investigation.

A CISA KEV listing documents known exploitation, not necessarily a zero-day; absence from the catalog does not prove a vulnerability has never been exploited.

Technology tags indicate possible relevance, not verified exposure. Confirm the affected product, version, and configuration against your own inventory; KEVWire does not scan your systems.

A personal reading checklist on this device, not verified remediation.

Record JSON

Your account

Email alerts

Email alerts are not available yet. To follow your stack today, use its RSS feed, which honors your filters, or connect an AI agent through the API.

Suggest an improvement

Ideas, missing sources, corrections, and bugs are all welcome. No account needed. Suggestions are reviewed by a person before anything changes.

Record details

Record detail