{"id":"CVE-2026-137586","summary":"LibreChat 0.7.3 before 0.8.9 Denial of Service via LDAP Login Password","details":"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.","aliases":["GHSA-572g-g8hc-w8c9"],"modified":"2026-11-27T21:00:50.988055995Z","published":"2026-11-26T13:39:49.067Z","database_specific":{"cwe_ids":["CWE-1287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137586.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137586.json"},{"type":"ADVISORY","url":"https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9"},{"type":"ADVISORY","url":"https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-572g-g8hc-w8c9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137586"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/librechat-0.7.3-before-0.8.9-denial-of-service-via-ldap-login-password"},{"type":"FIX","url":"https://github.com/LibreChat-AI/LibreChat/commit/3de814c0fab9b7347db68417784834a166ea7381"},{"type":"PACKAGE","url":"https://github.com/LibreChat-AI/LibreChat"},{"type":"ARTICLE","url":"https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8/api/server/middleware/requireLdapAuth.js#L3-L21"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/librechat-ai/librechat","events":[{"introduced":"0294cfc881513d9763857e52fce328e905cc8a08"},{"fixed":"d4e85d2205c78413ee27d631d7e3b7313556f21d"},{"fixed":"3de814c0fab9b7347db68417784834a166ea7381"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.7.3"},{"fixed":"0.8.9"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3de814c0fab9b7347db68417784834a166ea7381"}]},{"source":"REFERENCES_TAG","original_tag":"v0.8.9","range":[{"fixed":"d4e85d2205c78413ee27d631d7e3b7313556f21d"}]}]}}],"versions":["chart-3.2.0","chart-3.1.0","v0.8.9-rc1","chart-3.0.0","v0.8.8","chart-2.0.17","chart-2.0.16","chart-2.0.15","v0.8.8-rc4","chart-2.0.14","chart-2.0.13","v0.8.8-rc3","chart-2.0.12","chart-2.0.11","chart-2.0.10","v0.8.8-rc2","chart-2.0.9","v0.8.8-rc1","chart-2.0.8","v0.8.7","chart-2.0.7","v0.8.7-rc1","chart-2.0.6","v0.8.6","chart-2.0.5","chart-2.0.4","v0.8.6-rc1","chart-2.0.3","v0.8.5","v0.8.5-rc1","v0.8.4","chart-2.0.2","v0.8.4-rc1","chart-2.0.1","v0.8.3","chart-2.0.0","v0.8.3-rc2","chart-1.9.9","v0.8.3-rc1","chart-1.9.8","v0.8.2","chart-1.9.7","v0.8.2-rc3","chart-1.9.6","v0.8.2-rc2","chart-1.9.5","v0.8.2-rc1","v0.8.1","chart-1.9.4","v0.8.1-rc2","chart-1.9.3","v0.8.1-rc1","chart-1.9.2","v0.8.0","chart-1.9.1","v0.8.0-rc4","chart-1.9.0","v0.8.0-rc3","v0.8.0-rc2","v0.8.0-rc1","v0.7.9","librechat-1.8.9","v0.7.9-rc1","v0.7.8","v0.7.8-rc1","v0.7.7","v0.7.7-rc1","v0.7.6","v0.7.6-rc1","v0.7.5","v0.7.5-rc2","v0.7.5-rc1","v0.7.4","v0.7.4-rc1","v0.7.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137586.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}