Submit #877731: karakeep-app karakeep >= 0.3.0, <= 0.32.0 Improper Restriction of Excessive Authentication Attemptsinfo

Titlekarakeep-app karakeep >= 0.3.0, <= 0.32.0 Improper Restriction of Excessive Authentication Attempts
DescriptionKarakeep (Affected >= 0.3.0, <= 0.32.0) exposes a public credential-based login endpoint through NextAuth's CredentialsProvider. Unlike the signup endpoint (users.create), which is protected by a createRateLimitMiddleware (3 requests / 60s) and optional Cloudflare Turnstile, the login path (authorize() in apps/web/server/auth.ts) enforces no rate limiting, no failed-attempt lockout, no CAPTCHA, and no exponential backoff. An unauthenticated attacker can send unlimited password guesses against any known email address. Combined with the separately reported user/email enumeration on the signup endpoint (which confirms whether an email is registered), this yields a practical attack chain: enumerate valid emails → brute-force / credential-stuff their passwords with no throttling. The only slowdown is the bcrypt comparison cost factor (BCRYPT_SALT_ROUNDS = 10), which is insufficient to stop online guessing of weak or reused passwords.
Source⚠️ https://github.com/karakeep-app/karakeep/issues/2919
User
 ZAST.AI (UID 87884)
Submission07/02/2026 09:18 (2 months ago)
Moderation08/18/2026 06:30 (2 months later)
StatusAccepted
VulDB entry391519 [karakeep-app karakeep up to 0.32.0 Login Endpoint apps/web/server/auth.ts authorize excessive authentication]
Points20

Do you know our Splunk app?

Download it now for free!