All reports
High

Better Auth allows bypassing the trustedOrigins Protection which leads to ATO

Affected versions

Affected versions
<= 1.1.20
Fixed version
1.1.21

Exploitation

CVE-2025-71403

Probability of exploitation in the next 30 days: 0.34%

FIRST EPSS · 2026-11-21

Description

Summary

A bypass was discovered in the trustedOrigins validation logic—affecting both absolute URL entries and wildcard domain patterns. This flaw allows an attacker to construct a malicious callbackURL that passes origin checks and triggers an open redirect.

Because redirect endpoints include sensitive tokens (such as password-reset tokens), this vulnerability can enable one-click account takeover if a victim clicks a crafted link.

Links

Credits

  • castilho101