CVE-2026-54040

HIGH
MEDIUM Priority: 0.02 BB Relevance: 64/100
Published: 2026-06-25 Modified: 2026-10-25 First seen: 2026-10-29 Status: active

Attack Surface

Network Low Complexity No Interaction Integ. Impact

CVSS Vector Breakdown

AV: Network
AC: Low
PR: Low
UI: None
S: Unchanged
C: Low
I: High
A: None

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.

Weakness Classification (1)

Affected Software (1)

VendorProductVersion
librechat librechat < 0.8.3

References & Advisories (1)

Bug Bounty Relevance

64 / 100
✓ Network accessible
✓ Low complexity
✓ No user interaction

CVSS Score

7.1 / 10.0 v3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

EPSS — Exploitation Probability

0.26%
Raw Score 0.002580
Percentile 17.5%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00258
2026-10-28
0.00258

Intelligence Sources

nvd ref →