| Component | LibreChat |
| Severity | high (CVSS 7.5) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published (NVD) | 2026-11-26 |
| Affected versions | >= 0.7.3, < 0.8.9 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 0.8.9 |
| Weakness | CWE-1287 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Received) lists no affected versions of LibreChat for this CVE. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE.
NVD 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.
What to do
- Upgrade LibreChat to
0.8.9or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-137586
- 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