Open Redirect in Better-Auth
CVE-2025-71403
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.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 28.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Better-Auth — versions 0, 1.1.20
Weakness classification (CWE)
References
- 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)