Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-54042: medium-severity vulnerability (CVSS 6.8) in LibreChat-AI LibreChat.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.8.
Affected products and versions
LibreChat-AI LibreChat < 0.8.7
| Product | Versions | Fixed in |
|---|---|---|
| LibreChat-AI LibreChat | < 0.8.7 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm — CVE Program
- https://github.com/LibreChat-AI/LibreChat/pull/13555 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed — CVE Program
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7 — CVE Program
- https://www.librechat.ai/changelog/v0.8.7 — CVE Program
Weaknesses (CWE): CWE-307
Relevant change history
Published
Preliminary advisory published.