{"cve":"CVE-2024-56734","nvd":{"published":"2024-12-30T17:15:10.133","modified":"2026-06-17T08:12:51.960","status":"Analyzed","description":"Better Auth is an authentication library for TypeScript. An open redirect vulnerability has been identified in the verify email endpoint of all versions of Better Auth prior to v1.1.6, potentially allowing attackers to redirect users to malicious websites. This issue affects users relying on email verification links generated by the library. The verify email callback endpoint accepts a `callbackURL` parameter. Unlike other verification methods, email verification only uses JWT to verify and redirect without proper validation of the target domain. The origin checker is bypassed in this scenario because it only checks for `POST` requests. An attacker can manipulate this parameter to redirect users to arbitrary URLs controlled by the attacker. Version 1.1.6 contains a patch for the issue.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","score":7.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["https://github.com/better-auth/better-auth/commit/deb3d73aea90d0468d92723f4511542b593e522f","https://github.com/better-auth/better-auth/security/advisories/GHSA-8jhw-6pjj-8723"],"products":["better-auth:better_auth"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2024-56734","score":0.00387,"percentile":0.32824,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8jhw-6pjj-8723","url":"https://osv.dev/vulnerability/GHSA-8jhw-6pjj-8723","summary":"Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint","modified":"2026-02-04T04:29:32.607975Z","packages":[{"ecosystem":"npm","name":"better-auth","purl":"pkg:npm/better-auth","ranges":["<1.1.6"],"fixed":["1.1.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}