CVE-2025-71403
HIGH 7.1CVSS 4.0Better Auth allows bypassing the trustedOrigins Protection which leads to ATO
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.
- Published
- 1 Aug 2026
- Last modified
- 6 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-vp58-j275-797x
- Sources
- NVDJSONOSV GHSA-vp58-j275-797xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | better-auth | < 1.1.21 | 1.1.21 |
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797x · WEB
- https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypass
- https://github.com/better-auth/better-auth/commit/b381cac7aafd6aa53ef78b6ab771ebfa24643c80 · WEB
- https://github.com/better-auth/better-auth · PACKAGE
- https://github.com/better-auth/better-auth/blob/ddebd0358d74376ea64541512d0167dd4377f182/packages/better-auth/src/api/middlewares/origin-check.ts#L53 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 1 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Feb 2025)