CVE-2026-54042
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| librechat-ai | librechat | < 0.8.7 | |
References
- https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed
- https://github.com/LibreChat-AI/LibreChat/pull/13555
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm
- https://www.librechat.ai/changelog/v0.8.7
CWEs
CWE-307
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.