Security mailing lists by PureSourceCode

CVE-2025-71401

CRITICAL 9.3CVSS 4.0

Better Auth affected by external request basePath modification DoS

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
2 Aug 2026
Last modified
6 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-73CWE-770
Also known as
GHSA-569q-mpph-wgww
Sources
NVDJSONOSV GHSA-569q-mpph-wgwwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 CRITICAL 9.3 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
OSV GitHub CVSS 4.0 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:P
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm better-auth < 1.4.2 1.4.2

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 2 Aug 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.