Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
danny-avila LibreChat — LibreChat: 2FA Backup Code Regeneration Without OTP Verification Allows 2FA Bypass
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L L N U L H N 7.1 .0018 7.6 —
AFFECTED
Product Versions Fixed
LibreChat < 0.8.4-rc1 – —
TIMELINE
Jun 11 Reserved by GitHub_M
Jun 25 EXPLOIT PUBLISHED — CVE-2026-54040 (danny-avila LibreChat). Public exploit reference added.
Jun 25 Published (CNA: GitHub_M)
Description
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| June 11, 2026 | Reserved | Reserved by GitHub_M |
| June 25, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-54040 (danny-avila LibreChat). Public exploit reference added. |
| June 25, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| danny-avila | LibreChat | — | < 0.8.4-rc1 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-54040 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.