CVE-2026-54042
published medium CVSS 3.1 · 6.8LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LibreChat-AI | — | LibreChat< 0.8.7 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LibreChat-AI | LibreChat | < 0.8.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts
References
5- 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
Provider assertions
2GitHub_M · cna
LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83f63e2536c6d70bf8fda1b3f2d3ba9f2bab04c7fff0bd8a2c08fb2cb85a407b
- Ingested
- 25 Nov 2026, 04:37:37 UTC
- Source record
- Official CVE record