Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-45364
Published:May 28, 2026
Updated:June 13, 2026
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 by the exact textual IP address it received in x-forwarded-for (or the configured IP-bearing header). IPv6 clients controlling a typical /64 allocation could rotate through 2^64 distinct source addresses without exhausting the per-address counter, defeating rate limiting on /sign-in/email, /sign-up/email, /forget-password, and every other path the limiter protects. The same bug allowed a single client to vary the textual encoding of one IPv6 address (uppercase, compression, IPv4-mapped, hex-encoded IPv4-in-IPv6) and produce multiple distinct keys. This vulnerability is fixed in 1.4.17 and 1.5.0-beta.9.
Affected Packages
https://github.com/better-auth/better-auth.git (GITHUB):
Affected version(s) >=v0.0.2-beta.1 <v1.4.17
Fix Suggestion:
Update to version v1.4.17
https://github.com/better-auth/better-auth.git (GITHUB):
Affected version(s) >=v1.5.0-beta.1 <v1.5.0-beta.9
Fix Suggestion:
Update to version v1.5.0-beta.9
better-auth (NPM):
Affected version(s) >=0.0.1 <1.4.17
Fix Suggestion:
Update to version 1.4.17
better-auth (NPM):
Affected version(s) >=1.5.0-beta.1 <1.5.0-beta.9
Fix Suggestion:
Update to version 1.5.0-beta.9
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Restriction of Excessive Authentication Attempts
EPSS
Base Score:
0.08