CVE-2026-54042
LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts
CVSS Score
6.8
EPSS Score
0.4%
EPSS Percentile
38th
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.
| CWE | CWE-307 |
| Vendor | librechat-ai |
| Product | librechat |
| Published | Nov 20, 2026 |
| Last Updated | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for librechat-ai librechat
Be the first to know when new medium vulnerabilities affecting librechat-ai librechat are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
LibreChat-AI / LibreChat
< 0.8.7
References
github.com: https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm github.com: https://github.com/LibreChat-AI/LibreChat/pull/13555 github.com: https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed github.com: https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7 librechat.ai: https://www.librechat.ai/changelog/v0.8.7