# CVE-2024-56734: Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint

- Severity: High 7.9 (CVSS:4.0, scored by GitHub_M) `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`
- 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.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-30T16:48:58.184Z
- Modified: 2026-06-17T08:12:51.960Z
- Also known as: GHSA-8jhw-6pjj-8723
- Related: CVE-2025-27143
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- better-auth better-auth: < 1.1.5
- better-auth (npm): before 1.1.6
- better-auth better_auth: before 1.1.6

## Every score

- GitHub_M: CVSS:4.0 7.9 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-8jhw-6pjj-8723> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/better-auth/better-auth/commit/deb3d73aea90d0468d92723f4511542b593e522f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-56734> (advisory)
- <https://github.com/better-auth/better-auth> (package)

## Sources

- CVE List: [CVE-2024-56734](https://www.cve.org/CVERecord?id=CVE-2024-56734), CVE Terms of Use, modified 2024-12-30
- GitHub Advisory Database: [GHSA-8jhw-6pjj-8723](https://github.com/advisories/GHSA-8jhw-6pjj-8723), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-56734](https://nvd.nist.gov/vuln/detail/CVE-2024-56734), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56734 · Whole record: https://cve.day/CVE-2024-56734.json · Rebuilt by cve.day 2026-11-25T22:58:50.585Z
