> CVE-2026-45364 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-05-28 22:17
MODIFIED
2026-05-28 22:17
CVSS_SCORE V3
7.3
EPSS (Prob. Exploit)
0.30%
Top 77.9%
DATA SOURCES:
NVD đź”— 2026-05-28 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> DESCRIPTION

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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EXPLOITABILITY
3.9
IMPACT
3.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-307

> CWE DETAILED DESCRIPTIONS

CWE-307: Improper Restriction of Excessive Authentication Attempts - The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.

> GITHUB SECURITY ADVISORY

GHSA-p6v2-xcpg-h6xw HIGH

Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation

AFFECTED PACKAGES:
NPM / better-auth
>= 1.5.0-beta.1, < 1.5.0-beta.9
Fixed in: 1.5.0-beta.9
NPM / better-auth
< 1.4.17
Fixed in: 1.4.17

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation

AFFECTED PACKAGES:
Unknown / Unknown
613 versions affected
ALIASES:
GHSA-p6v2-xcpg-h6xw

> HISTORIQUE DES MODIFICATIONS

Première apparition
28/05/2026 22:17
Source: NVD
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-307: Improper Restriction of Excessive Authentication Attempts - The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.
Total des modifications: 1 Dernière mise à jour: 5 months ago

> REFERENCES

https://github.com/better-auth/better-auth/commit/43e719bcc0c223c7079fa0c611a9cf...
https://github.com/better-auth/better-auth/commit/57af0f7b910dcf7b1a5c0615d10b9b...
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-h6...
« BACK_TO_HOME