Intel

AIKIDO-2026-849414

better-auth is vulnerable to Information Disclosure

Information Disclosure Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

39

Low Risk

This Affects:

JSbetter-auth
1.5.0 - 1.6.18
Fixed in 1.6.19
Are you affected? Scan for Free

TL;DR

The unauthenticated /send-verification-email endpoint returns quickly when an email is unknown or already verified but waits for the configured email callback when the address belongs to an unverified user. Remote callers could compare response times to learn whether an address is registered and pending verification. The patch enforces a 500ms minimum response time on the unauthenticated path and surfaces sendVerificationEmail failures after that delay.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and expose the unauthenticated /send-verification-email endpoint with email verification enabled.

Background info

better-auth is vulnerable to Information Disclosure in versions 1.5.0 - 1.6.18.

How to fix this

Upgrade the better-auth library to the patch version.