CVE-2025-71401 json
better-auth before 1.4.2 basePath Modification DoS
published 2025-12-01 11 mo ago modified 2026-10-06 33 d ago also EUVD-2025-210592 , GHSA-569q-mpph-wgww
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm better-auth 1.4.2
- better-auth better-auth 1.4.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | 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 |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 9.3 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | better-auth | <1.4.2 |
1.4.2 |
Affected products
- better-auth better-auth
Classification
References
-
github.com
/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09
web
-
github.com
/better-auth/better-auth/security/advisories/GHSA-569q-mpph-wgww
vendor-advisory, web
-
vulncheck.com
/advisories/better-auth-before-basepath-modification-dos
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-71401
advisory
-
github.com
/better-auth/better-auth
package
-
github.com
/better-auth/better-auth/releases/tag/v1.4.2
web
Sources
- CVE List CVE-2025-71401
- GitHub Advisory GHSA-569q-mpph-wgww
- NVD CVE-2025-71401
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.