CVE-2025-71399
Better Auth relies on better-call, which uses the rou3 router …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/better-auth/better-auth/commit/f60b43fa648399534507c9ac7db36d705b8874c3
- github.com/better-auth/better-auth/security/advisories/GHSA-x732-6j76-qmhm
- www.vulncheck.com/advisories/better-auth-before-path-normalization-bypass-via-rou3
- nvd.nist.gov/vuln/detail/CVE-2025-71399
- cve.org/CVERecord?id=CVE-2025-71399
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.