CVE-2025-71399
Received Received - Intake

Path Normalization Bypass in Better Auth

Vulnerability report for CVE-2025-71399, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-02

Last updated on: 2026-08-02

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-02
Last Modified
2026-08-02
Generated
2026-08-02
AI Q&A
2026-08-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
better_auth better_auth to 1.4.5 (exc)
rou3 rou3 to 1.4.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Better Auth, which uses the rou3 router library. In older versions of rou3, URL paths with multiple slashes (like //path or ///path) are treated the same as a single slash path (/path). This allows attackers to bypass security measures like disabledPaths configuration and path-based rate limits by adding extra slashes to URLs.

Detection Guidance

To detect this vulnerability, inspect HTTP request logs for URLs with multiple consecutive slashes in paths (e.g., //path, ///path). Check if requests bypass intended path-based restrictions in Better Auth deployments using rou3 versions prior to 1.4.5. Use tools like curl to send test requests with extra slashes and verify if they reach unintended routes.

Impact Analysis

Attackers could exploit this to access restricted routes or bypass rate limits, potentially leading to unauthorized actions or service disruptions. The impact depends on how Better Auth is configured in your system.

Mitigation Strategies

Upgrade Better Auth to version 1.4.5 or later, which includes the fixed rou3 library. If upgrading is not immediately possible, configure your proxy or web server to normalize URLs by collapsing multiple slashes before they reach the application. Review and enforce path-based rate limits and disabledPaths configurations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71399. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart