cbcvebase.
CVE-2026-54040
published 2026-06-25

CVE-2026-54040: 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…

PriorityP342high7.1CVSS 3.1
AVNACLPRLUINSUCLIHAN
EPSS
0.15%
4.6th percentile
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.

Affected

2 ranges
VendorProductVersion rangeFixed in
danny-avilalibrechat< 0.8.4-rc10.8.4-rc1
librechatlibrechat<= 0.8.3
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.