CVE-2025-71401 — Vulnerability in better-auth — CVE Details
Better Auth affected by external request basePath modification DoS
Summary
Advisory Timeline
- First published December 1, 2025 (315 days ago).
- Last revised September 1, 2026 — 274 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install better-auth@1.4.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| better-auth | npm | All versions | 1.4.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-73
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-569q-mpph-wgwwWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71401ADVISORY
- https://github.com/ray-project/ray/commit/70e7c72780bdec075dba6cad1afe0832772bfe09WEB
- https://github.com/better-auth/better-authPACKAGE
- https://github.com/better-auth/better-auth/releases/tag/v1.4.2WEB
- https://www.vulncheck.com/advisories/better-auth-before-basepath-modification-dosWEB
Frequently Asked Questions
- What is CVE-2025-71401?
- Better Auth affected by external request basePath modification DoS This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-71401?
- CVE-2025-71401 affects better-auth. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-71401 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-53512CRITICAL
Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins
- CVE-2024-56734HIGH
Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint
- CVE-2026-67336HIGH
Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies