CVE-2026-54042
JSON

6.8medium

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

Severity
6.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
LibreChat-AI LibreChat< 0.8.7CVE List

Classification

CWE-307

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54042 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-54042 changed 2026-11-25Public domain