Read the docs
TI-2025-43590 Aliases GHSA-vp58-j275-797x

Better Auth allows bypassing the trustedOrigins Protection which leads to ATO

Priority LOW 38CWE-601Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Spoofing
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-601.

Summary

### 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.

Why it matters now

Fix Fixed better-auth (npm): 1.1.21

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—better-auth (npm)before 1.1.211.1.21Patch availableGHSA-vp58-j275-797x
  • better-auth (npm) Vendor— Affected before 1.1.21 Fixed in 1.1.21 Patch available GHSA-vp58-j275-797x

Remediation

  • Fix · GHSA-vp58-j275-797x better-auth (npm) Fixed in 1.1.21 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-vp58-j275-797x

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences