high8.7
CVE-2026-137586
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 allow…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Danny-avila | LibreChat | from 0.7.3 before 0.8.9 |
| LibreChat | LibreChat | from 0.7.3 before 0.8.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-572g-g8hc-w8c9
- https://github.com/LibreChat-AI/LibreChat/commit/3de814c0fab9b7347db68417784834a166ea7381
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8/api/server/middleware/requireLdapAuth.js#L3-L21
- https://www.vulncheck.com/advisories/librechat-0.7.3-before-0.8.9-denial-of-service-via-ldap-login-password
- https://github.com/advisories/GHSA-qqfg-3v3f-mhrj
- https://nvd.nist.gov/vuln/detail/CVE-2026-137586