Weak Password Recovery Mechanism for Forgotten Password in LibreChat - #VU166581
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to take over accounts, including administrator accounts, and access or modify their data.
The vulnerability exists due to disclosure of password-reset tokens in LibreChat's requestPasswordReset() function when password reset is enabled but email delivery is not configured. A remote attacker can enumerate valid email addresses through differing responses, request a reset link containing the victim's token and userId, and submit these values to /api/auth/resetPassword to set a new password and take over the account.