---
id: CVE-2025-71403
title: >-
  better-auth versions before 1.1.20 contain a bypass vulnerability in
  trustedOrigins validation logic affecting absolute URLs and wildcard domains
summary: >-
  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 trigg…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N'
cwe:
  - CWE-601
published: '2026-08-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:34:34.997'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71403'
references:
  - url: >-
      https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797x
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypass
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00342
epssPercentile: 0.24903
ingestedAt: '2026-08-02T05:17:48.788Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
