Skip to main content

LibreChat CVE-2026-137588

| EUVDEUVD-2026-136869 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-26 disclosure@vulncheck.com
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with a valid LibreChat account
  2. Delivery
    Craft import JSON with many unresolvable parentMessageId values
  3. Exploit
    POST file to /api/convos/import
  4. Execution
    Quadratic parent lookup runs inline on request thread
  5. Impact
    Node.js event loop stalls for minutes, denying service to all users

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Requires an authenticated LibreChat account (PR:L) able to reach POST /api/convos/import; the conversation-import feature is default functionality, so no special non-default configuration is needed. The attacker supplies a crafted import document (LibreChat-format, or the ChatGPT-format second sink at importers.js:716-730) with many messages naming an unresolvable/absent parentMessageId, triggering the quadratic lineage loop in cloneMessagesWithTimestamps or adjustTimestampsForOrdering. Limiting factors: valid credentials are mandatory; per-user rate limiting caps imports at 50 per 15 minutes; the default 250 MiB (262144000-byte) accepted upload size bounds a single request, and the size guard runs only after the loops and caps per-document BSON size, not loop cost. No user interaction by victims is needed and no code execution or data disclosure results - impact is availability only.

Impact

Signals are moderate and internally consistent rather than alarming. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the maintainer's own medium rating agree: network-reachable, low complexity, but requiring an authenticated account (PR:L) and yielding availability-only impact (VA:H, with VC/VI = N) - no data exposure or code execution. The vuln.today decision label is 'this_week', not act_now or emergency, so this warrants prompt patching but not drop-everything response. No EPSS score is provided and the CVE is not on CISA KEV, so there is no evidence of widespread or active exploitation. A detailed PoC (Python generator plus curl upload, with a measured ~48s stall of an unrelated /api/config request) is published in the GHSA advisory, but the maintainer audit states it did not re-run the exploit, so it is a public PoC reference rather than independently verified working exploit code. The impact is also bounded: rate limiting caps imports at 50/user/15min, and only authenticated users can reach the endpoint. Net: a credible, easy-to-trigger availability DoS for anyone running an affected self-hosted instance, but limited blast radius (single application's event loop) and no confidentiality/integrity impact - a real 'patch this week' item, not a critical emergency.

Exploit ScenarioDerived

An authenticated LibreChat user generates a conversation-import JSON containing hundreds of thousands of messages whose parentMessageId all point to a single absent root, then POSTs it to /api/convos/import. The synchronous O(n²) parent lookup in cloneMessagesWithTimestamps/fork.js pins the single-threaded Node.js event loop for minutes, denying service to every other user; the published GHSA PoC demonstrates an unrelated request stalling ~48 seconds.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Authenticated LibreChat users can deny service to the entire instance by submitting a crafted conversation import that forces quadratic parent-message lookups and blocks the Node.js event loop for minutes. Affected releases are LibreChat 0.7.6 through 0.8.8-rc2, fixed in v0.8.8; the GitHub advisory includes a public PoC reference, but it is not verified as working exploit code in this analysis. The attack requires a valid account and access to the default POST /api/convos/import endpoint, and impact is availability only, with a 50-per-15-minute import rate limit and a 250 MiB upload cap as practical constraints.

RemediationAI

Upgrade to LibreChat v0.8.8 or later; this is the vendor-released patch and contains commit e43fed2ed400305333e8c6aec4c2c25c5ef10054, which replaces the per-message linear parent lookups with indexed maps via cloneLineage. The advisory is at https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-r38q-3g6w-gc58. No alternative code-level workaround is documented; until upgrading, exposure can be reduced by restricting or disabling POST /api/convos/import for untrusted accounts, with the trade-off of losing conversation-import functionality. The existing 50-imports-per-15-minutes rate limit and 250 MiB upload cap bound request volume and document size, but they do not prevent event-loop blocking, and the size guard runs after the vulnerable loops, so lowering the upload size is not a reliable prevention.

Affected VersionsENISA

LibreChat 0.7.6 <0.8.8

Affected Packages

euvd librechat fix: 0.8.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an algorithmic-complexity and resource-consumption issue (CWE-407, CWE-400) in LibreChat's conversation-import path, not memory corruption, injection, or data disclosure. Import processing runs synchronously on the request thread and performs per-message linear searches over a growing message collection, producing O(n²) parent-lineage lookups in cloneMessagesWithTimestamps or adjustTimestampsForOrdering; a related ChatGPT-format sink is at importers.js:716-730. Messages with unresolvable parentMessageId values keep the lookup work growing with the uploaded document, and because Node.js is single-threaded, other users' requests stall until the import completes. The advisory notes the accepted upload size is 262144000 bytes (250 MiB), imports are limited to 50 per user per 15 minutes, and the size guard runs after the loops and caps per-document BSON size rather than loop cost. LibreChat v0.8.8 replaces the linear lineage scan with indexed maps via cloneLineage. The vendor CVSS 4.0 score is 7.1, and the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, confirming an authenticated, availability-only impact; the vuln.today priority label is this_week.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable import endpoint with low-complexity trigger but requiring an authenticated account (PR:L); impact is availability-only event-loop exhaustion, so C:N/I:N/A:H and scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 21:03 EUVD
CVE Published
Nov 26, 2026 - 20:17 cve.org
HIGH 7.1

DescriptionCVE.org

LibreChat 0.7.6 before 0.8.8 contains a denial of service vulnerability that allows authenticated users to block the server event loop by uploading a crafted conversation import file to POST /api/convos/import. Attackers can submit many messages with unresolvable parentMessageId values, triggering quadratic processing in cloneMessagesWithTimestamps or adjustTimestampsForOrdering and stalling the Node.js event loop for minutes for all users.

Technical POC Analysis

CWE-407 (Inefficient Algorithmic Complexity), also scored CWE-400.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity availability flaw in LibreChat versions 0.7.6 through 0.8.8-rc2 allows any authenticated user to halt all chat services for the entire organization by importing a specially crafted conversation. Because a valid account is the only prerequisite, this is a low-barrier insider or compromised-account threat that could cause minutes-long outages and disrupt business communications.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
popular self-hosted open-source AI chat platform, moderate production footprint
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy