CVE-2026-54042
LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts
Medium · 6.8
- CVSS
- 6.8
- EPSS
- 0.55% (p40)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-25
- Product
- LibreChat-AI LibreChat
- Aliases
- GHSA-ch3w-5cqg-47qm
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm x_refsource_CONFIRM
- https://github.com/LibreChat-AI/LibreChat/pull/13555 x_refsource_MISC
- https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed x_refsource_MISC
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7 x_refsource_MISC
- https://www.librechat.ai/changelog/v0.8.7 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54042.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-54042 advisory