HIGHVulnerability
Verified
Global

NVD HIGH: CVE-2026-54040 — LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prio...

·Source: NIST NVD

Updated:

Executive Summary

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the POST /api/auth/2fa/backup/regenerate endpoint regenerates all 2FA backup codes without requiring any TOTP token or existing backup code verification. An attacker with a stolen session token can silently replace a victim's backup codes and use them to bypass 2FA login or disable 2FA entirely. This vu

Analysis

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the POST /api/auth/2fa/backup/regenerate endpoint regenerates all 2FA backup codes without requiring any TOTP token or existing backup code verification. An attacker with a stolen session token can silently replace a victim's backup codes and use them to bypass 2FA login or disable 2FA entirely. This vulnerability is fixed in 0.8.4-rc1. CVSS Score: 5.9. Published: 2026-06-25T17:16:41.123.

Indicators of Compromise (1)

CVE (1)
CVE-2026-54040
Source Attribution

Originally published by NIST NVD on Jun 25, 2026. Verified by: NIST.

Related Threats