CVE-2024-56734 - CVE House
Back to Database
Status published High CVE-2024-56734

Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-56734

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

better-auth

View all reports →

Affected Software

better-auth
Vulnerable Versions:
< 1.1.5

Timeline

Official Publish: December 30th, 2024
Last Modified: December 30th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)