boxscore/security
CVE · referencelatest edition

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.

CVE-2026-54040HIGH
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)
CWE-306 · CNA: GitHub_M · CVSS v3.1 · 1 reference · NVD status: Analyzed

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
DateEventDetail
June 11, 2026ReservedReserved by GitHub_M
June 25, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-54040 (danny-avila LibreChat). Public exploit reference added.
June 25, 2026PublishedPublished (CNA: GitHub_M)

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
danny-avilaLibreChat< 0.8.4-rc1

Weaknesses

CWE-306

References (1)

Related

Authoritative record: CVE-2026-54040 at cve.org

Vendors: danny-avila

Weaknesses: CWE-306

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.