> CVE-2025-71401 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-08-02 13:16
MODIFIED
2026-08-02 13:16
CVSS_SCORE V3
9.3
EPSS (Prob. Exploit)
0.46%
Top 60.5%
DATA SOURCES:
NVD đź”— 2026-08-02 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-10-29 OSV đź”— 2026-11-02

> DESCRIPTION

better-auth (npm) before 1.4.2 allows an external request to configure baseURL when it is not otherwise defined (e.g., BETTER_AUTH_URL is unset). An attacker able to make the very first request to the server after startup can poison the router's base path, causing all routes to return 404 for all users (denial of service). The issue is not reachable when baseURL is explicitly configured or on typical managed hosting platforms.

> AFFECTED_PRODUCTS

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

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-770

> CWE DETAILED DESCRIPTIONS

CWE-770: Allocation of Resources Without Limits or Throttling - The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

> GITHUB SECURITY ADVISORY

GHSA-569q-mpph-wgww HIGH

Better Auth affected by external request basePath modification DoS

AFFECTED PACKAGES:
NPM / better-auth
< 1.4.2
Fixed in: 1.4.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

better-auth before 1.4.2 basePath Modification DoS

AFFECTED PACKAGES:
Unknown / Unknown
588 versions affected
ALIASES:
GHSA-569q-mpph-wgww

> HISTORIQUE DES MODIFICATIONS

Première apparition
02/08/2026 13:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-770: Allocation of Resources Without Limits or Throttling - The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the ...
Total des modifications: 1 Dernière mise à jour: 2 months ago

> REFERENCES

https://github.com/better-auth/better-auth/security/advisories/GHSA-569q-mpph-wg...
https://www.vulncheck.com/advisories/better-auth-before-basepath-modification-do...
« BACK_TO_HOME