Skip to main content
EPSS 0.2%top 85%

better-auth versions before 1.1.20 contain a bypass vulnerability in trustedOrigins validation logic affecting absolute URLs and wildcard domains. (CVE-2025-71403)

0
High
Published: 08/01/2026 (08/01/2026, 15:30:23 UTC)
Source: GCVE Database

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.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
better-auth/better-auth
pkg:github/better-auth/better-auth
Affected versions
<1.1.20

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 21:25:31 UTC

Technical Analysis

The vulnerability in better-auth prior to version 1.1.20 involves a bypass in the trustedOrigins validation logic. Specifically, the validation fails to correctly handle absolute URLs and wildcard domains, allowing attackers to construct malicious callbackURL parameters that pass origin checks improperly. This results in open redirect conditions that can be exploited to steal sensitive authentication tokens, facilitating account takeover attacks. The issue is tracked as CVE-2025-71403 and is classified as CWE-601 (Open Redirect). The CVSS 3.1 base score is 7.1, reflecting a network attack vector with low complexity, no privileges required, user interaction needed, and impacts confidentiality and integrity.

Potential Impact

Successful exploitation can lead to open redirect attacks that enable attackers to steal sensitive tokens from users. This can result in account takeover, compromising user accounts and associated data confidentiality and integrity. The vulnerability does not impact availability. The attack requires user interaction but no privileges or authentication.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using affected versions in sensitive environments and monitor for updates from the vendor. Implement additional validation or filtering on callbackURL parameters if possible to mitigate open redirect risks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-g2jv-pgqw-qxhv
Osv Schema Version
1.4.0
Aliases
["CVE-2025-71403"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6e6299bf32cb7a344f9ee9

Added to database: 08/01/2026, 21:18:17 UTC

Last enriched: 08/01/2026, 21:25:31 UTC

Last updated: 09/11/2026, 09:31:01 UTC

Views: 117

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses