{"id":"CVE-2025-71401","published":"2026-08-02T12:15:23Z","modified":"2026-08-03T14:29:35Z","title":"better-auth before 1.4.2 basePath Modification DoS","vendor":"better-auth","product":"better-auth","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00455,"percentile":0.40395,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-569q-mpph-wgww","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/better-auth-before-basepath-modification-dos","tags":["third-party-advisory"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.08},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"better-auth","affectedVersions":[{"vendor":"better-auth","product":"better-auth","versions":["< 1.4.2"]}],"fixedVersions":[{"vendor":"better-auth","product":"better-auth","versions":["1.4.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T14:29:29.017546Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"better-auth","vulnerableRanges":["<1.4.2"],"patched":["1.4.2"],"from":["GHSA-569q-mpph-wgww"],"provenance":"source"}],"summary":{"text":"The better-auth npm package before version 1.4.2 has a flaw in how it handles baseURL when none is configured (for example, when BETTER_AUTH_URL is unset), letting an external request set the router's base path. An unauthenticated attacker who can send the very first request to the server after startup can poison that base path so every route returns 404 for all users, but this is not reachable when baseURL is explicitly configured or on typical managed hosting platforms.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:13Z"},"euvd":{"id":"EUVD-2025-210592","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ray-project-ray-cve-2025-62593","parents":[{"from":"CVE-2026-27482","to":"CVE-2025-71401","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["python/ray/dashboard/http_server_head.py","python/ray/dashboard/optional_utils.py"],"commits":["https://github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09","https://github.com/ray-project/ray/commit/0fda8b824cdc9dc6edd763bb28dfd7d1cc9b02a4"],"basis":"shared function","functions":["is_browser_request"]}]}],"packageHistory":[{"cve":"CVE-2025-27143","published":"2025-02-24","fixed":"1.1.20","kev":false},{"cve":"CVE-2025-53535","published":"2025-07-07","fixed":"1.2.10","kev":false},{"cve":"CVE-2025-61928","published":"2025-10-09","fixed":"1.3.26","kev":false,"link":{"from":"CVE-2025-61928","to":"CVE-2025-71401","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:better-auth","fromFixed":"1.3.26","toFixed":"1.4.2","daysApart":297}]}},{"cve":"CVE-2025-71401","published":"2026-08-02","fixed":"1.4.2","kev":false},{"cve":"CVE-2026-45364","published":"2026-05-28","fixed":"1.5.0-beta.9","kev":false},{"cve":"CVE-2026-53517","published":"2026-07-15","fixed":"1.6.0","kev":false},{"cve":"CVE-2026-45337","published":"2026-07-15","fixed":"1.6.11","kev":false}],"package":"npm:better-auth"}}