Authentication Vulnerability in LibreChat by LibreChat AI
CVE-2026-54042

6.8MEDIUM

Key Information:

Status
Vendor
CVE Published:
20 November 2026

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

References

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.