Read the docs

Improper input type validation in LibreChat LDAP login crashes server

Priority HIGH 77CWE-1287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

LibreChat from 0.7.3 before 0.8.9 has improper validation of input type in the requireLdapAuth middleware of the /api/auth/login route, classified as CWE-1287. An unauthenticated remote attacker can crash the server by sending a login request with an existing directory user's email and a non-string password, which terminates the Node.js process. Public proof-of-concept code is assessed as available by CISA SSVC.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00809 53rd percentileScored 2026-11-30
Fix Fixed LibreChat (LibreChat): 0.8.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
danny-avilaLibreChat0.7.3 to before 0.8.90.8.9Patch availableCNA
  • LibreChat Vendordanny-avila Affected 0.7.3 to before 0.8.9 Fixed in 0.8.9 Patch available CNA

Remediation

Upgrade LibreChat to version 0.8.9 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

  • Fix · CNA LibreChat (LibreChat) Fixed in 0.8.9

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    LibreChat 0.8.9

    2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM

    Other records, highest priority first

    • TI-2026-99037 Race condition in LibreChat balance auto-refill allows repeated creditsPriority MEDIUM 45

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137586
  2. 2026-11-27 Alias added: GHSA-qqfg-3v3f-mhrj
  3. 2026-12-01 CISA SSVC decision points changed

References

  • TI-2026-25134 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection CVSS 3.1CRITICAL 9.6
  • TI-2026-17862 LibreChat MCP Stdio Remote Command Execution CVSS 3.1CRITICAL 9.9
  • TI-2026-38976 LibreChat: Missing Resource Parameter Validation in MCP OAuth Flow CVSS 3.1CRITICAL 9.3
  • TI-2024-27763 LibreChat through 0.7.4-rc1 has incorrect access control for message updates. CVSS 3.1CRITICAL 9.8
  • TI-2024-10347 Path Traversal in danny-avila/librechat CVSS 3.0HIGH 8.8
  • TI-2026-25682 In LibreChat 0.8.1-rc2, a logged-in user obtains a JWT for both the LibreChat API and the RAG API. CVSS 3.1CRITICAL 9.0
See all 54 →

Sources