# CVE-2025-71403: better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-02-24T20:49:50.000Z
- Modified: 2026-10-06T22:10:00.247Z
- Also known as: GHSA-vp58-j275-797x
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- better-auth better-auth: before 1.1.20 (not affected: 1.1.20)
- better-auth (npm): before 1.1.21

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797x> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypass> (third-party-advisory)
- <https://github.com/better-auth/better-auth/commit/b381cac7aafd6aa53ef78b6ab771ebfa24643c80> (web)
- <https://github.com/better-auth/better-auth> (package)
- <https://github.com/better-auth/better-auth/blob/ddebd0358d74376ea64541512d0167dd4377f182/packages/better-auth/src/api/middlewares/origin-check.ts#L53> (web)

## Sources

- CVE List: [CVE-2025-71403](https://www.cve.org/CVERecord?id=CVE-2025-71403), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-vp58-j275-797x](https://github.com/advisories/GHSA-vp58-j275-797x), CC-BY-4.0, modified 2026-08-02
- NVD: [CVE-2025-71403](https://nvd.nist.gov/vuln/detail/CVE-2025-71403), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2025-71403 · Whole record: https://cve.day/CVE-2025-71403.json · Rebuilt by cve.day 2026-11-25T22:59:12.423Z
