{"id":"CVE-2025-71403","state":"PUBLISHED","title":"better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass","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.","publishedAt":"2026-08-01T12:22:18.102Z","updatedAt":"2026-08-03T18:18:54.122Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["better-auth better-auth"],"affected":[{"vendor":"better-auth","product":"better-auth","packageURL":"pkg:npm/better-auth","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.1.20","versionType":"semver"},{"version":"1.1.20","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797x","https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypass"],"weaknesses":["CWE-601"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71403.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71403","state":"PUBLISHED","datePublished":"2026-08-01T12:22:18.102Z","dateUpdated":"2026-08-03T18:18:54.122Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-18T12:38:41.077Z"},"containers":{"cna":{"title":"better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"better-auth","product":"better-auth","packageURL":"pkg:npm/better-auth","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.1.20","versionType":"semver"},{"version":"1.1.20","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-vp58-j275-797x","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-vp58-j275-797x)"},{"url":"https://www.vulncheck.com/advisories/better-auth-before-open-redirect-via-trustedorigins-bypass","name":"VulnCheck Advisory: better-auth before 1.1.20 Open Redirect via trustedOrigins Bypass","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","lang":"en","description":"URL Redirection to Untrusted Site ('Open Redirect')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-01T12:22:18.102Z"},"datePublic":"2025-02-24T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:better-auth:better-auth\\/oauth-provider:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.1.20"}]}]}],"credits":[{"lang":"en","value":"castilho101","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-03T18:18:37.173747Z","id":"CVE-2025-71403","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-03T18:18:54.122Z"}}]}}}