CVE-2026-54042: medium-severity vulnerability in LibreChat-AI LibreChat
LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.8epss 0.4%
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected products
LibreChat-AI · LibreChatRelated CVEs — LibreChat-AI LibreChat
In the same product, most dangerous first.
CVE-2026-54046MEDIUMLibreChat: Unauthenticated User Enumeration via Email Verification EndpointEPSS 0.8%CVE-2026-54039HIGHLibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallbackEPSS 0.7%CVE-2026-54023MEDIUMLibreChat: Federated OAuth Tokens Exposed via `/api/user` EndpointEPSS 0.6%CVE-2026-54041LOWLibreChat: Plaintext password logged on login validation errorEPSS 0.6%CVE-2026-54045MEDIUMLibreChat: Password Reset Can Wipe Email-Verification Tokens When Verification Is EnforcedEPSS 0.5%CVE-2026-54038MEDIUMLibreChat: Server-Side ReDoS via Unescaped Regex in Principal SearchEPSS 0.5%
References
https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192edhttps://github.com/LibreChat-AI/LibreChat/pull/13555https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qmhttps://www.librechat.ai/changelog/v0.8.7