Skip to content
OpenAdvisories
High · 7.1 CVE-2025-71403 EUVD-2025-210582GHSA-g2jv-pgqw-qxhvGHSA-vp58-j275-797x

better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass

Published Aug 1, 2026 · Updated Aug 3, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
better-auth better-auth < 1.1.20 1.1.20

Affected packages

EcosystemPackageAffectedFixedRecord
npm better-auth < 1.1.21 1.1.21 GHSA-vp58-j275-797x

References