{"answers":{"affected":"2 open source packages ship an affected version, including better-auth.","exploited":"There is no known exploitation of CVE-2025-71399 in the wild and no public exploit code.","fix":"Upgrade better-auth to 1.4.5 or later.","what":"CVE-2025-71399 is a high-severity vulnerability in better-auth, published on 2 Aug 2026."},"fix_prompt":"Check this codebase for CVE-2025-71399 and fix it if it is affected.\n\nWhat it is: CVE-2025-71399 is a high-severity vulnerability in better-auth, published on 2 Aug 2026. \nExploitation: There is no known exploitation of CVE-2025-71399 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- better-auth (npm): affected all versions; fixed in 1.4.5\n- better-auth (npm): affected all versions; fixed in 1.4.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-71399/ (Markdown: https://insights.sbomify.com/CVE-2025-71399/index.md)","id":"CVE-2025-71399","markdown":"https://insights.sbomify.com/CVE-2025-71399/index.md","name":"CVE-2025-71399","record":{"aliases":["GHSA-9fq7-6g6p-g9rm","GHSA-x732-6j76-qmhm"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Better Auth before 1.4.5 Path Normalization Bypass via rou3","id":"CVE-2025-71399","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"better-auth passkey before 1.4.0 IDOR via delete-passkey","id":"CVE-2025-71400"},"packages":[{"ecosystem":"npm","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"better-auth","purl":null,"source":"GHSA-x732-6j76-qmhm"},{"ecosystem":"npm","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"better-auth","purl":"pkg:npm/better-auth","source":"GHSA-x732-6j76-qmhm"}],"prev":{"headline":"SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass","id":"CVE-2025-71398"},"products":["better-auth"],"published":"2026-08-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["better-auth"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-71399/"}