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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T20:07:18.987Z
- Modified: 2026-11-25T05:18:37.067Z
- Weaknesses: CWE-307
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- LibreChat-AI LibreChat: < 0.8.7

## References

- <https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm> (exploit)
- <https://github.com/LibreChat-AI/LibreChat/pull/13555>
- <https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed>
- <https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7>
- <https://www.librechat.ai/changelog/v0.8.7>

## Sources

- CVE List: [CVE-2026-54042](https://www.cve.org/CVERecord?id=CVE-2026-54042), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-54042](https://nvd.nist.gov/vuln/detail/CVE-2026-54042), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-54042 · Whole record: https://cve.day/CVE-2026-54042.json · Rebuilt by cve.day 2026-11-25T23:17:11.777Z
