CVE-2025-71399
CVE-2025-71399 · Better Auth before 1.4.5 Path Normalization Bypass via rou3
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 · Alta · EPSS 0,5% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: node
Productos y versiones afectados
better-auth
- Versiones
- ≥ 0, < 1.4.5: Afectada (semver)
- 1.4.5: No afectada (semver)
Actualiza a 1.4.5
better-auth npm
- Intervalos de versiones afectados
- SEMVER: < 1.4.5
Actualiza a 1.4.5
Fuentes 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