


Perceptive Security
SOC/SIEM Consultancy

Better Auth is an authentication and authorization library for TypeScript. Prior to 1.4.17 and 1.5.0-beta.9, Better Auth's HTTP rate limiter keyed each request …
Published:
27 mei 2026 om 22:00:00
Alert date:
28 mei 2026 om 23:02:47
Source:
nvd.nist.gov
Web Technologies, Identity & Access
Better Auth authentication library for TypeScript contains a vulnerability in its HTTP rate limiter that allows IPv6 clients to bypass rate limiting protections. The flaw occurs because the rate limiter keys requests by exact textual IP addresses from x-forwarded-for headers. Attackers with IPv6 /64 allocations can rotate through 2^64 distinct addresses to defeat rate limiting on authentication endpoints including sign-in, sign-up, and password reset paths. The vulnerability also allows encoding variations of the same IPv6 address to create multiple distinct keys. This affects all rate-limited endpoints and is fixed in versions 1.4.17 and 1.5.0-beta.9.
Technical details
Mitigation steps:
Affected products:
Better Auth
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-45364
https://github.com/better-auth/better-auth/commit/43e719bcc0c223c7079fa0c611a9cf7ea1188254
https://github.com/better-auth/better-auth/commit/57af0f7b910dcf7b1a5c0615d10b9bd56bb69bef
https://github.com/better-auth/better-auth/pull/7470
https://github.com/better-auth/better-auth/pull/7509
https://github.com/better-auth/better-auth/security/advisories/GHSA-p6v2-xcpg-h6xw
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
