CVE-2025-71403Published Aug 1, 2026 · Aug 1Updated Oct 28
better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass
better-auth
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| better-auth npm |
|
|
Original 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.
From the CVE record · VulnCheck