Live threats

All CVEs / Better-auth

CVE-2024-56734Better-auth Better Auth

High 7.9 No auth needed

Priority
62
CVSS 4.0
7.9
EPSS
0.6%
probability of exploitation in 30 days · percentile 40
Auth required
No
Published
Dec 30, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Better Auth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm better-auth < 1.1.6 1.1.6 npm install better-auth@1.1.6

Per OSV / GitHub Advisories (GHSA-8jhw-6pjj-8723). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
better-authbetter_auth< 1.1.6

Official sources

References

Links published by the sources. Open them with care.