{"id":"CVE-2026-54042","aliases":["GHSA-ch3w-5cqg-47qm"],"title":"LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts","originalDescription":"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.","severity":{"cvss":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.0055,"percentile":0.39667},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm","type":"x_refsource_CONFIRM"},{"url":"https://github.com/LibreChat-AI/LibreChat/pull/13555","type":"x_refsource_MISC"},{"url":"https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed","type":"x_refsource_MISC"},{"url":"https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7","type":"x_refsource_MISC"},{"url":"https://www.librechat.ai/changelog/v0.8.7","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54042.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54042","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T05:27:19.579Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54042","license":"NVD terms of use","firstSeenAt":"2026-11-20T20:49:02.501Z"},{"name":"osv","at":"2026-11-21T21:34:35.383Z","url":"https://osv.dev/vulnerability/CVE-2026-54042","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T21:34:35.383Z"},{"name":"cvelistV5","at":"2026-11-30T16:03:57.642Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-54042","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T20:46:34.869Z"}],"firstSeenAt":"2026-11-20T20:46:34.869Z","publishedAt":"2026-11-20T20:07:18.987Z","modifiedAt":"2026-11-25T05:18:37.067Z"}