Improper Input Type Validation in LibreChat Affects Login Functionality
CVE-2026-137586
8.7HIGH
What is CVE-2026-137586?
LibreChat versions prior to 0.8.9 exhibit a vulnerability in the requireLdapAuth middleware found within the /api/auth/login route. This improper input type validation allows unauthenticated users to send a JSON login request containing an existing directory user's email and a non-string password. This malicious action can trigger an ldapjs assertion error, potentially crashing the server by terminating the Node.js process, leading to a Denial of Service condition. Users are advised to upgrade to the latest version to mitigate this risk.
Affected Version(s)
LibreChat 0.7.3 < 0.8.9
