PT-2026-52497
CVE-2026-54040
·
Published
2026-06-25
·
Updated
2026-06-29
Description by
CVSS 3.1
7.1
HighMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Name of the Vulnerable Software and Affected Versions
LibreChat versions prior to 0.8.4-rc1
Description
The application allows the regeneration of all two-factor authentication (2FA) backup codes without requiring a Time-based One-Time Password (TOTP) token or the verification of an existing backup code. An attacker possessing a stolen session token can replace a victim's backup codes to bypass 2FA login or disable 2FA completely. This issue occurs at the 'POST /api/auth/2fa/backup/regenerate' endpoint.
Recommendations
Update to version 0.8.4-rc1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾