CVE-2025-71403
highpriority · track · 0EPSS 0.003 · 28 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-vp58-j275-797xBetter Auth allows bypassing the trustedOrigins Protection which leads to ATO2025-02-24ghsa · osvUS
### 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797xcnnvd
- https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypasscnnvd
- https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797xenisa_euvd
- https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypassenisa_euvd
- https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797xnvd
- https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypassnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan