Intel

AIKIDO-2026-307244

@convex-dev/auth is vulnerable to Improper Restriction of Excessive Authentication Attempts

Improper Restriction of Excessive Authentication AttemptsGHSA-c3rg-jwq9-3233 Published 3 days ago

74

High Risk

This Affects:

JS@convex-dev/auth
0.0.1 - 0.0.94
Fixed in 0.0.95
Are you affected? Scan for Free

TL;DR

Applications built with Convex Auth that use an email or phone one-time-password provider verify sign-ins by checking a short numeric code sent to the user. The verification path does not effectively restrict how many code guesses can be made, so short numeric codes with fewer than eight digits can be guessed through repeated unauthenticated attempts within the code lifetime. A party who guesses a valid code can complete sign-in as the targeted user without any prior access. The fix corrects verification-code handling so a code is validated and consumed correctly, closing the brute-force path.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses an email or phone one-time-password (OTP) provider with short numeric codes.

Background info

@convex-dev/auth is vulnerable to Improper Restriction of Excessive Authentication Attempts in versions 0.0.1 - 0.0.94.

How to fix this

Upgrade the @convex-dev/auth library to the patch version.