What’s Vulnerable › Vulnerabilities
CVE-2025-71399: Better Auth before 1.4.5 Path Normalization Bypass via rou3
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-02 · updated 2026-10-08
- Weakness: CWE-20
Description
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.
Affected products
- better-auth: before 1.4.5 — fixed in 1.4.5
How to fix
Upgrade to a fixed version: better-auth 1.4.5. Check the vendor advisory for mitigations.
References
- https://github.com/better-auth/better-auth/commit/f60b43fa648399534507c9ac7db36d705b8874c3
- https://github.com/better-auth/better-auth/security/advisories/GHSA-x732-6j76-qmhm
- https://www.vulncheck.com/advisories/better-auth-before-path-normalization-bypass-via-rou3
Get alerted when CVE-2025-71399 or the next vulnerability affects your stack