CVE Catalog

CVE-2025-71399

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

Better Auth relies on the rou3 router library, which normalizes URL paths by removing empty segments. In Better Auth versions prior to 1.4.5, an attacker can bypass disabledPaths configuration and path-based rate limits by submitting requests with extra slashes in the URL path. The issue does not apply when the proxy or platform normalizes URLs by collapsing multiple slashes.

Risk Assessment

An attacker can bypass path access controls and rate limits, potentially leading to unauthorized access to features or server overload.

Recommendation

Update Better Auth to version 1.4.5 or later, which includes the fixed rou3. If possible, configure the proxy or platform to normalize URLs by collapsing multiple slashes.

Other vulnerabilities in Better Auth

See all
Original NVD description (English source)

Better Auth relies on better-call, which uses the rou3 router library. In affected versions of rou3, paths are normalized by removing empty segments, so /path, //path, and ///path resolve to the same route. In Better Auth versions prior to 1.4.5 (which bundles the fixed rou3), this can allow attackers to bypass disabledPaths configuration and path-based rate limits by submitting requests with extra slashes in the URL path. The issue does not apply in deployments where the proxy or platform normalizes URLs by collapsing multiple slashes.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS