Vulnerability

CVE-2025-71401

criticalCVSS 4.0 9.3Published 2 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /better-auth/better-auth/security/advisories/GHSA-569q-mpph…
  • www.vulncheck.com /advisories/better-auth-before-basepath-modification-dos

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning