CVE-2026-137586: LibreChat 0.7.3 before 0.8.9 Denial of Service via LDAP Login Password
LibreChat 0.7.3 before 0.8.9 contains an improper input type validation vulnerability in the requireLdapAuth middleware of the /api/auth/login route that allows unauthenticated attackers to crash the server. Attackers can send a JSON login request with an existing directory user's email and a non-string password, triggering an ldapjs assertion error that terminates the Node.js process.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this denial-of-service condition?
LibreChat deployments running versions from 0.7.3 before 0.8.9 are exposed if LDAP authentication is in use, because the affected requireLdapAuth middleware handles requests to /api/auth/login. An attacker does not need an account or prior authentication.
What does an attacker need to trigger the crash?
The attacker needs the email address of an existing directory user and must submit it in a JSON login request with a password value that is not a string. This triggers an ldapjs assertion error that terminates the Node.js process.
How can I determine whether my instance is vulnerable?
Check whether the LibreChat version is 0.7.3 through any version earlier than 0.8.9, and whether LDAP-backed login is enabled on the /api/auth/login path. Affected instances may show an ldapjs assertion error followed by termination of the Node.js process.