PT-2025-62893 · Npm+1 · Better-Call+2
CVSS v4.0
8.8
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Better Auth versions prior to 1.4.5
Description
Better Auth utilizes the better-call library, which depends on the rou3 router. In affected versions of rou3, paths are normalized by removing empty segments, causing paths such as
/path, //path, and ///path to resolve to the same route. This behavior allows attackers to bypass the disabledPaths configuration and path-based rate limits by including extra slashes in the URL path. This issue does not affect deployments where the proxy or platform automatically normalizes URLs by collapsing multiple slashes.Recommendations
Update Better Auth to version 1.4.5 or later.
Ensure the proxy normalizes URLs by collapsing multiple slashes before they reach the handler.
Exploit
Fix
Resource Exhaustion
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Better Auth
Better-Call
Rou3