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.
CVE-2026-45364
This high-severity CVE scores 7.3 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 79% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.3
- EG Score
- 7.3(medium)
- EPSS
- 21.3%
- KEV
- Not listed
Published
May 15, 2026
Last Modified
June 1, 2026
Advisory Details (5)
Auto-updated May 29, 2026Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation · Advisory · better-auth/better-auth · GitHub
https://github.com/better-auth/better-auth/security/advisories/GHSA-p6v2-xcpg-h6xwfix: set default ipv6 subnet to 64
Fix merged in better-auth/better-auth PR #7509 on 2026-01-21 — awaiting tagged release
https://github.com/better-auth/better-auth/pull/7509fix(rate-limit): support IPv6 address normalization and subnet
Patch available: better-auth/better-auth v1.5.0 (PR #7470 merged 2026-01-19)
https://github.com/better-auth/better-auth/pull/7470commit 57af0f7b910d (better-auth/better-auth)
Patch available: better-auth/better-auth v1.5.0 (contains commit 57af0f7b910d)
https://github.com/better-auth/better-auth/commit/57af0f7b910dcf7b1a5c0615d10b9bd56bb69befcommit 43e719bcc0c2 (better-auth/better-auth)
Fix landed in better-auth/better-auth commit 43e719bcc0c2 — awaiting tagged release
https://github.com/better-auth/better-auth/commit/43e719bcc0c223c7079fa0c611a9cf7ea1188254Vendor Advisories for CVE-2026-45364(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| better-auth | — | 1.5.0-beta.9 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 51× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 21:28 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 10:59 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 21:52 UTCEG score recompute
- 2026-06-27 08:33 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:11 UTCEG score recompute
- 2026-06-25 18:45 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
Show 73 moreShow fewer
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 03:55 UTCEG score recompute
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 13:25 UTCEG score recompute
- 2026-06-17 00:22 UTCEG score recompute
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 11:55 UTCEG score recompute
- 2026-06-15 23:32 UTCEG score recompute
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 00:02 UTCEG score recompute
- 2026-06-14 11:39 UTCEG score recompute
- 2026-06-13 23:17 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 01:55 UTCEG score recompute
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 13:33 UTCEG score recompute
- 2026-06-12 01:12 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 12:50 UTCEG score recompute
- 2026-06-11 00:28 UTCEG score recompute
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 12:07 UTCEG score recompute
- 2026-06-09 23:45 UTCEG score recompute
- 2026-06-09 11:23 UTCEG score recompute
- 2026-06-08 23:02 UTCEG score recompute
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 10:40 UTCEG score recompute
- 2026-06-07 22:17 UTCEG score recompute
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 09:56 UTCEG score recompute
- 2026-06-06 21:34 UTCEG score recompute
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 09:12 UTCEG score recompute
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 20:50 UTCEG score recompute
- 2026-06-05 08:28 UTCEG score recompute
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 20:06 UTCEG score recompute
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 07:44 UTCEG score recompute
- 2026-06-03 19:22 UTCEG score recompute
- 2026-06-03 07:00 UTCEG score recompute
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 18:38 UTCEG score recompute
- 2026-06-02 06:16 UTCEG score recompute
- 2026-06-01 17:54 UTCEG score recompute
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 05:32 UTCEG score recompute
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-24 06:18 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-307
Frequently asked(5)
What is CVE-2026-45364?
When was CVE-2026-45364 disclosed?
Is CVE-2026-45364 actively exploited?
What is the CVSS score of CVE-2026-45364?
How do I remediate CVE-2026-45364?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45364
Is Your Infrastructure Affected by CVE-2026-45364?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.