Authentication Vulnerability in LibreChat by LibreChat AI
CVE-2026-54042
6.8MEDIUM
What is CVE-2026-54042?
LibreChat, an AI chat application, contains an authentication flaw that affects its 2FA verification process. Before version 0.8.7, the '/api/auth/2fa/verify-temp' endpoint is susceptible to repeated guesses for the Time-Based One-Time Password (TOTP) or backup codes. An attacker who has valid primary credentials and a temporary token can exploit this flaw by attempting multiple second-factor verifications without any limits, potentially gaining unauthorized access to user sessions if they successfully guess a valid code. This vulnerability underscores the need for robust security measures in multi-factor authentication setups. The issue was addressed in version 0.8.7.
Affected Version(s)
LibreChat < 0.8.7
