Back to CVE records
High 7.9Published Dec 30, 2024

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

Updated under an hour ago ()

Does this affect you?

It affects better-auth and 1 other product. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.39%, higher than 33% of scored CVEs.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
7.9 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-601
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.39% (percentile 33)
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Dec 30, 2024
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
better-auth better-auth
better_auth:better_auth (from the name)
before 1.1.5
CNA record
better-auth better_auth
better-auth:better_auth
before 1.1.6
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .