CVE-2026-137586
Malformed LDAP login credentials could stop the LibreChat process
LibreChat · LibreChat LDAP login
First documented disclosure · Review checkpoint
Summary
A non-string password could trigger an uncaught assertion during LDAP authentication.
Severity and exploitation evidence
High · 8.7/10 · CVSS 4.0. Severity source.
Exploitation not established: Public original advisories and static source evidence only; no exploit, package, provider request or upstream test was executed. No malicious exploitation against users is established by this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The LDAP route passed credentials to Passport without the type checks used by local login; an asynchronous ldapjs assertion reached the process-exit handler.
Conditions required
LDAP login is enabled and the attacker knows an email present in the directory; no application account or password is needed.
Potential impact
One request can stop the process and repeated requests can keep it unavailable after restarts.
Affected versions and configurations
CNA:>=0.7.3,<0.8.9. Maintainer reports testing0.7.9,0.8.8 and a named main revision; intermediate versions were not all tested.
Fix and mitigation status
Published 0.8.9 contains the credential-type gate before Passport. GitHub marks this release as a prerelease.
Practical next steps
Upgrade to 0.8.9 or later and restrict LDAP login exposure while remediation is applied.
Operating lesson
Validate credential types before handing them to asynchronous authentication libraries.
Evidence and limits
The maintainer advisory published November 17; the CVE appearedNovember 26. LDAP is not enabled by default and local login is outside this flaw. CNA’s wider range is preserved alongside the narrower tested builds. The original source reports process termination rather than a demonstrated data compromise. The maintainer ratesCVSS 3.1High 7.5; CNA also providesCVSS 4.0High 8.7, used here. Fix commit3de814c0fab9b7347db68417784834a166ea7381 and tagged caller were read; no image was run. Release metadata freshly checked: 0.8.9 published November 17 at 14:25Z and is marked prerelease. Tagged validateLdapCredentials rejects missing, empty and non-string email or password before the LDAP strategy.
Sources
- Maintainer security advisory
Primary source ·
- Released LDAP credential gate
Primary source ·
- Issue-specific credential-type correction
Primary source ·
- Exact CVE authority record
Primary source ·
- 0.8.9 prerelease metadata
Primary source ·
- Tagged LDAP credential validator
Primary source ·