Resource exhaustion in Better-auth

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 ro…

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-71401?
CVE-2025-71401 is a medium-severity vulnerability in Better-auth, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 5.9/10. Published 2026-08-02.
How severe is CVE-2025-71401?
Medium severity. CVSS v3 base score is 5.9 out of 10.