Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.8CVE-2026-54042

CVE-2026-54042: LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts

LibreChat-AI LibreChat

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-54042: medium-severity vulnerability (CVSS 6.8) in LibreChat-AI LibreChat.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.8.

Affected products and versions

LibreChat-AI LibreChat < 0.8.7

ProductVersionsFixed in
LibreChat-AI LibreChat< 0.8.7—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-307

Relevant change history

  1. Published

    Preliminary advisory published.