7.1High
CVE-2025-71403better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass
Description
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.
Weakness (CWE):
CWE-601
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| better-auth | better-auth | < 1.1.20, fixed 1.1.20 | |
| better-auth | better-auth/oauth-provider | < 1.1.20 |
References and patches
- GitHub Security Advisory (GHSA-vp58-j275-797x) vendor-advisory
- VulnCheck Advisory: better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass third-party-advisory