What is CVE-2026-137586?
CVE-2026-137586 is a high-severity vulnerability in LibreChat, published on 26 Nov 2026.
Official 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.
Weakness: CWE-1287
How severe is CVE-2026-137586?
CVE-2026-137586 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-137586?
1 open source package ship an affected version, including librechat-ai/librechat.
| Package | Affected | Fixed in |
|---|---|---|
librechat-ai/librechat GitHubpkg:github/librechat-ai/librechat | From 0.7.3 | 0.8.9 |
How do I fix CVE-2026-137586?
Upgrade librechat-ai/librechat to 0.8.9 or later.
Is CVE-2026-137586 being exploited?
There is no known exploitation of CVE-2026-137586 in the wild and no public exploit code.
Sources
Also known as GHSA-572g-g8hc-w8c9, GHSA-qqfg-3v3f-mhrj.