AI description
CVE-2025-71401 is a vulnerability affecting the `better-auth` npm package in versions prior to 1.4.2. It allows an external request to configure the `baseURL` if it has not been explicitly defined, such as when the `BETTER_AUTH_URL` environment variable is unset. This issue stems from the product not properly controlling the allocation and maintenance of a limited resource, leading to resource consumption. An attacker who is able to make the very first request to the server after startup can exploit this vulnerability to "poison" the router's base path. This manipulation causes all subsequent routes to return 404 errors for all users, effectively leading to a denial of service. The vulnerability is not exploitable if the `baseURL` is explicitly configured or if the application is running on typical managed hosting platforms.
- 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.
- Source
- disclosure@vulncheck.com
- NVD status
- Received
CVSS 4.0
- Type
- Secondary
- Base score
- 9.3
- Impact score
- -
- Exploitability score
- -
- 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/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
- Severity
- CRITICAL
CVSS 3.1
- Type
- Secondary
- Base score
- 5.9
- Impact score
- 3.6
- Exploitability score
- 2.2
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
- disclosure@vulncheck.com
- CWE-770
- Hype score
- Not currently trending
High-severity CVE-2025-71401 (CVSS 9.3) affects better-auth npm <1.4.2 when baseURL is unset. Review and update dependencies promptly. https://t.co/F02CEIxh82 via NVD Recent High CVSS #CyberSecurity #InfoSec #Vulnerability #AI #MachineLearning https://t.co/0hrABleEZI
@ADKCyber
2 Aug 2026
60 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
🚨*CVE* 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 … https://t.co/qJWqhZnRju ----- Traducción: CVE-2025-71401 bet… https://t.co/utmtNg
@infoflowcloud
2 Aug 2026
24 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
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 … https://t.co/N9ijnSqlqe
@CVEnew
2 Aug 2026
926 Impressions
0 Retweets
1 Like
0 Bookmarks
0 Replies
0 Quotes
CVE-2025-71401 Denial of Service via Base URL Configuration Poisoning in better-auth Before 1.4.2 https://t.co/n4PF1Kg5ug
@VulmonFeeds
2 Aug 2026
120 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes