CVE-2025-71403better-auth
High 7.1 No auth needed
Follow: this CVE · better-auth · better-auth We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 4.0
- 7.1
- EPSS
- —
- Auth required
- No
- Published
- Aug 1, 2026
- Updated
- Oct 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
better-auth versions before 1.1.20 contain a bypass vulnerability in trustedOrigins validation logic affecting absolute URLs and wildcard domains. Attackers can construct malicious callbackURL parameters that pass origin checks and trigger open redirects to steal sensitive tokens for account takeover.
What to do
- Apply the vendor's security update for better-auth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | better-auth |
< 1.1.21 |
1.1.21 |
npm install better-auth@1.1.21 |
Per OSV / GitHub Advisories (GHSA-vp58-j275-797x). Check the version in your lockfile before upgrading.
Affected products
- better-auth · better-auth
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.