CVE-2025-71401
Last modified
CVE-2025-71401 is a critical-severity vulnerability rated 9.3/10 on the CVSS scale. 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). EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth | < 1.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2025-71401?
How severe is CVE-2025-71401?
How do I fix CVE-2025-71401?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-71396SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before…2.3
- CVE-2025-71397SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before…7.1
- CVE-2025-71398SurrealDB before 2.2.2 fails to validate HTTP redirects in h…5.8
- CVE-2025-71399Better Auth relies on better-call, which uses the rou3 route…8.8
- CVE-2025-7140A vulnerability classified as problematic has been found in …5.4
- CVE-2025-71400better-auth passkey versions before 1.4.0 contain an insecur…7.1
- CVE-2025-71402better-auth versions greater than 1.3.34 and before 1.4.0 co…2
- CVE-2025-71403better-auth versions before 1.1.20 contain a bypass vulnerab…7.1
- CVE-2025-71404better-auth versions after v0.0.2 and before 1.1.16 contain …5.1
- CVE-2025-71408NLTK (Natural Language Toolkit) before version 3.9.3 contain…8.5
- CVE-2025-71409Lack of authentication for Very High Frequency Data Link mes…7.1
- CVE-2025-7141A vulnerability classified as problematic was found in Sourc…5.4
Are you affected by CVE-2025-71401?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
