CVE-2025-71399: Better Auth before 1.4.5 Path Normalization Bypass via rou3

Published Aug 2, 2026
·
Updated

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 Software

1 affected component
Better Auth Better Auth<1.4.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade better-call/rou3 (bundled in Better Auth) to a version that resolves this vulnerability.

    Fixed in 1.4.5
  2. Configuration

    Apply a deployment-level URL normalization behavior (collapsing multiple slashes) so that routes are normalized and the rou3 path normalization bypass is not exploitable.

    Better Auth disabledPaths configuration / path-based rate limits = Ensure upstream/proxy URL normalization collapses multiple slashes

Event History

Aug 2, 2026
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness
Dec 7, 58555
Event
via NVD·12:07 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-71399?

CVE-2025-71399 has a severity score of 8.6, indicating a high risk.

2

How do I fix CVE-2025-71399?

To fix CVE-2025-71399, update to Better Auth version 1.4.5 or later, which includes the patch for the vulnerability.

3

What causes the CVE-2025-71399 vulnerability?

CVE-2025-71399 is caused by a path normalization bypass in the rou3 router library utilized by Better Auth.

4

What versions of Better Auth are affected by CVE-2025-71399?

Better Auth versions before 1.4.5 are affected by CVE-2025-71399.

5

What type of attack does CVE-2025-71399 allow?

CVE-2025-71399 allows attackers to bypass authentication by manipulating normalized paths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203