🛡️ CVE-2025-71403 — better-auth

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-601 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Better Auth allows bypassing the trustedOrigins Protection which leads to ATO

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity high, availability none.

Weakness class

CVE-2025-71403 is classified as CWE-601: Open Redirect. A redirect target is taken from user input, so a trusted link can send the visitor to an attacker's site.

Affected software

CVE-2025-71403 is recorded against 2 packages.

  • better-auth
  • unknown

Timeline and source

Published on 24 February 2025 and last revised on 2 August 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
CWE CWE-601
Public Exploit ✅ No
Source NVD
Published 2025-02-24
Updated 2026-08-12
Modified 2026-08-02
Fix URL N/A

Affected Packages

Software From version Fixed in
better-auth
unknown

Similar Threats

Site Security Check

Is better-auth part of your stack?

CVE-2025-71403 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.