CVE-2025-71401
published critical CVSS 4.0 · 9.3better-auth before 1.4.2 basePath Modification DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth0 to < 1.4.2 (affected · semver) · 1.4.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | 0 to < 1.4.2 (affected · semver)1.4.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-770 Allocation of Resources Without Limits or Throttling
References
2- GitHub Security Advisory (GHSA-569q-mpph-wgww) https://github.com/better-auth/better-auth/security/advisories/GHSA-569q-mpph-wgww
- VulnCheck Advisory: better-auth before 1.4.1 basePath Modification DoS https://www.vulncheck.com/advisories/better-auth-before-basepath-modification-dos
Provider assertions
2VulnCheck · cna
better-auth before 1.4.2 basePath Modification DoS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 82498a6842d4833eb5caa4e0b3170a056e68de35efca6716508562b1edb2dd1f
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record