Improper Input Type Validation in LibreChat Affects Login Functionality
CVE-2026-137586

8.7HIGH

Key Information:

Vendor

Librechat

Status
Vendor
CVE Published:
26 November 2026

What is CVE-2026-137586?

LibreChat versions prior to 0.8.9 exhibit a vulnerability in the requireLdapAuth middleware found within the /api/auth/login route. This improper input type validation allows unauthenticated users to send a JSON login request containing an existing directory user's email and a non-string password. This malicious action can trigger an ldapjs assertion error, potentially crashing the server by terminating the Node.js process, leading to a Denial of Service condition. Users are advised to upgrade to the latest version to mitigate this risk.

Affected Version(s)

LibreChat 0.7.3 < 0.8.9

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Shmulik Cohen (shmulc8)
.