Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137586: high-severity vulnerability (CVSS 8.7) in LibreChat LibreChat.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
LibreChat LibreChat >= 0.7.3, < 0.8.9
| Product | Versions | Fixed in |
|---|---|---|
| LibreChat LibreChat | >= 0.7.3, < 0.8.9 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-572g-g8hc-w8c9 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/commit/3de814c0fab9b7347db68417784834a166ea7381 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8/api/server/middleware/requireLdapAuth.js#L3-L21 — CVE Program
- https://www.vulncheck.com/advisories/librechat-0.7.3-before-0.8.9-denial-of-service-via-ldap-login-password — CVE Program
Weaknesses (CWE): CWE-1287
Relevant change history
Published
Preliminary advisory published.