CVE-2025-71401
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:Aug 2, 2026
Last Modified:Aug 3, 2026
EPS:Aug 2, 2026
EPSS Score:0.0026
CVSS Score:5.9
Affected Products
Vendor
Product
Action
Vendor
Better-auth
Product
Better-auth\/oauth-provider
Better-auth
Better-auth\/oauth-provider
Vendor
Better-auth
Product
Better Auth
Better-auth
Better Auth
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
