# CVE-2026-137586: LibreChat 0.7.3 before 0.8.9 Denial of Service via LDAP Login Password

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.81% (percentile 54, 2026-11-28)
- **CWE:** CWE-1287
- **Published:** 2026-11-26T13:39:49.067Z
- **Modified:** 2026-11-26T14:17:27.423Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can crash the LibreChat server by sending a login request with a non-string password, triggering an ldapjs assertion that terminates the Node.js process.

## Who should check

- Anyone running LibreChat \>= 0.7.3, \< 0.8.9

## 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.

## Affected and fixed versions

- LibreChat: \>= 0.7.3, \< 0.8.9 (cvelist)

## Technologies

Node.js (AI-matched)

## Mitigation

- Upgrade LibreChat to 0.8.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-137586. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-137586.md
Affected: LibreChat >= 0.7.3, < 0.8.9
Fixed in: LibreChat 0.8.9

Steps:
1. Search this machine and project for LibreChat: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-137586 being exploited?

There is no confirmed exploitation: CVE-2026-137586 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.81% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-137586?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-137586?

LibreChat \>= 0.7.3, \< 0.8.9.

### Is there a fix for CVE-2026-137586?

Yes. Fixed in LibreChat 0.8.9. Upgrade LibreChat to 0.8.9 or later.

### How do I check if I'm affected by CVE-2026-137586?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-572g-g8hc-w8c9>
- patch: <https://github.com/LibreChat-AI/LibreChat/commit/3de814c0fab9b7347db68417784834a166ea7381>
- article: <https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8/api/server/middleware/requireLdapAuth.js#L3-L21>
- other: <https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9>
- other: <https://www.vulncheck.com/advisories/librechat-0.7.3-before-0.8.9-denial-of-service-via-ldap-login-password>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137586>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-137586> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137586>
