[GHSA-x732-6j76-qmhm] Better Auth's rou3 Dependency has Double-Slash Path Normalization which can Bypass disabledPaths Config and Rate Limits - #8945
Open
FROWNINGdev wants to merge 1 commit into
Conversation
github-actions
Bot
changed the base branch from
main
to
FROWNINGdev/advisory-improvement-8945
August 2, 2026 17:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
Add
CVE-2025-71399as an alias for this advisory.The unreviewed record GHSA-9fq7-6g6p-g9rm describes the same vulnerability — rou3 normalizing away empty path segments so that
/path,//pathand///pathresolve to the same route, allowingdisabledPathsand path-based rate limits to be bypassed, fixed in Better Auth 1.4.5 which bundles the patched rou3 — and lists this advisory as its first reference. The two records are duplicates of a single issue, split across keys: this one carries the package mapping (npm:better-auth,< 1.4.5) but no CVE ID, while the unreviewed record carriesCVE-2025-71399but no affected package or version data.One additional note that may help curation: the unreviewed record lists the fix as
better-auth@f60b43fa648399534507c9ac7db36d705b8874c3, but that commit does not exist inbetter-auth/better-auth. Per the details of this advisory, it is a commit in the upstream router library,h3js/rou3@f60b43fa648399534507c9ac7db36d705b8874c3.This change is limited to the
aliasesfield; no other fields are touched.References