CVE-2025-71399
CVE-2025-71399 · Better Auth before 1.4.5 Path Normalization Bypass via rou3
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.8 · Élevée · EPSS 0,5% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
better-auth
- Versions du logiciel
- ≥ 0, < 1.4.5: Concernée (semver)
- 1.4.5: Non concernée (semver)
Mettez à jour vers 1.4.5
better-auth npm
- Plages de versions concernées
- SEMVER: < 1.4.5
Mettez à jour vers 1.4.5
Sources originales
- https://github.com/better-auth/better-auth/security/advisories/GHSA-x732-6j76-qmhm
- https://github.com/better-auth/better-auth/commit/f60b43fa648399534507c9ac7db36d705b8874c3
- https://www.vulncheck.com/advisories/better-auth-before-path-normalization-bypass-via-rou3
- https://nvd.nist.gov/vuln/detail/CVE-2025-71399