freenode

← CVE tracker

CVE-2026-54042

LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts

Severity
medium CVSS 6.8 (v3.1)
Affects
LibreChat · LibreChat-AI
Weakness
CWE-307: Improper Restriction of Excessive Authentication Attempts
Published
20 November 2026 by GitHub_M
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, POST /api/auth/2fa/verify-temp in api/server/routes/auth.js calls verify2FAWithTempToken and accepts repeated TOTP or backup-code guesses without a dedicated attempt limiter. An attacker must first possess valid primary credentials and a valid five-minute temp token, but can then make repeated second-factor attempts and obtain a full session if a valid code is guessed. This issue is fixed in version 0.8.7.

Our coverage

We have not written about this one. Know why it matters? Send a tip.