CVE-2025-71401
CRITICAL 9.3CVSS 4.0Better Auth affected by external request basePath modification DoS
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.
- Published
- 2 Aug 2026
- Last modified
- 6 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-73CWE-770
- Also known as
- GHSA-569q-mpph-wgww
- Sources
- NVDJSONOSV GHSA-569q-mpph-wgwwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 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 |
| OSV | GitHub | CVSS 4.0 | 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:P | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | better-auth | < 1.4.2 | 1.4.2 |
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-569q-mpph-wgww · WEB
- https://www.vulncheck.com/advisories/better-auth-before-basepath-modification-dos · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71401 · ADVISORY
- https://github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09 · WEB
- https://github.com/better-auth/better-auth · PACKAGE
- https://github.com/better-auth/better-auth/releases/tag/v1.4.2 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 2 Aug 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Dec 2025)