Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| LibreChat | LibreChat | >= 0.7.3, < 0.8.9 |
References
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8/api/server/middleware/requireLdapAuth.js#L3-L21
- 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/security/advisories/GHSA-572g-g8hc-w8c9
- https://www.vulncheck.com/advisories/librechat-0.7.3-before-0.8.9-denial-of-service-via-ldap-login-password
Timeline
- Published
- Nov 26, 2026
- Last modified
- Dec 1, 2026
- NVD status
- Received