PT-2026-52497 · Librechat · Librechat

·

CVE-2026-54040

·

Published

2026-06-25

·

Updated

2026-06-29

CVSS v3.1

7.1

High

VectorAV: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.

Exploit

Fix

Missing Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54040
GHSA-H59W-X9H4-M6GV

Affected Products

Librechat