Skip to main content

Librechat CVE-2026-31949

| EUVDEUVD-2026-12093 MEDIUM
Uncaught Exception (CWE-248)
2026-03-13 GitHub_M
6.5
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Impact

CVSS 6.5 (Medium-High) reflects AV:Network, AC:Low, PR:Legitimate (authenticated), UI:None, S:Unchanged, C:None, I:None, A:High—indicating easy remote exploitation by any authenticated user with no special conditions. The attack complexity is trivial (malformed JSON in request body), but the impact is severe: complete application unavailability. However, real-world risk is moderated by two factors: (1) Attack requires authentication, reducing the attacker pool to legitimate users or those with compromised credentials, and (2) No KEV status, active exploitation reports, or public POC evidence suggests this remains largely theoretical or exploited only in targeted scenarios. The vulnerability is automatable and has high technical impact (service-level DoS), but the authentication barrier and apparent lack of weaponization lower urgency compared to unauthenticated DoS. SSVC framework would classify this as moderate priority: exploitation is straightforward but requires authenticated access; impact is high (service unavailable) but not data-compromising.

Exploit ScenarioDerived

An authenticated user (either legitimate with malicious intent or an attacker with compromised credentials) sends a DELETE request to https://target-librechat-instance/api/convos with a malformed JSON body such as {} or {"other_field": "value"}, intentionally omitting the 'arg' field. The route handler attempts destructuring like const { arg } = req.body without checking if arg exists. JavaScript throws TypeError: Cannot destructure property 'arg' of 'undefined' or similar. This exception is not caught by the route handler's try-catch block (if absent) or Express error middleware (bypassed), triggering an unhandled exception that Node.js escalates to process.exit(1). The entire LibreChat application crashes, disconnecting all users and making the service unavailable until manually restarted. An attacker could repeat this attack every time the service recovers, creating a sustained DoS condition. No known public POC code has been released, though exploitation is trivial given the low technical barrier (HTTP POST with malformed JSON).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 13, 2026

LibreChat versions prior to 0.8.3-rc1 contain a Denial of Service vulnerability in the DELETE /api/convos endpoint where authenticated attackers can crash the Node.js server process by sending malformed requests lacking the required req.body.arg parameter. The vulnerability exploits improper destructuring without validation, causing an unhandled TypeError that bypasses Express middleware and triggers process.exit(1), resulting in complete service unavailability. No evidence of active exploitation in the wild or public POC has been identified at this time.

RemediationAI

Immediate patch: Upgrade LibreChat to version 0.8.3-rc1 or later once released as stable. For users unable to patch immediately: (1) Implement network-level access controls restricting who can authenticate to LibreChat instances (e.g., VPN, allowlisting); (2) Deploy a reverse proxy (nginx, HAProxy) with request body validation rules that reject requests to DELETE /api/convos lacking the 'arg' parameter; (3) Monitor Node.js process logs for unexpected exits and implement auto-restart policies (systemd, PM2, Docker restart policies) to reduce downtime impact; (4) Implement rate limiting on authenticated users to slow attack velocity. Code-level workaround (if patching is delayed): Add input validation middleware before the DELETE /api/convos handler to validate req.body.arg existence and type before destructuring.

Affected VersionsENISA

LibreChat < 0.8.3-rc1

Affected Packages

euvd librechat fix: 0.8.3-rc1

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

LibreChat is a Node.js-based ChatGPT clone application (CPE: cpe:2.3:a:danny-avila:librechat). The vulnerability stems from CWE-248 (Uncaught Exception), a root cause class involving improper exception handling. Specifically, the DELETE /api/convos route handler performs destructuring assignment on req.body.arg without prior null/undefined validation. When a malformed request omits this parameter, JavaScript throws a TypeError during destructuring, which is not caught by the route handler or Express error middleware, causing the entire Node.js process to terminate. This indicates a lack of defensive programming practices and insufficient input validation at the route handler level before object destructuring operations.

Know when Librechat 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

GitHub Advisory PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
0.8.3-rc1
CVE Published
Mar 13, 2026 - 19:47 nvd
MEDIUM 6.5

DescriptionGitHub Advisory

LibreChat is a ChatGPT clone with additional features. Prior to 0.8.3-rc1, a Denial of Service (DoS) vulnerability exists in the DELETE /api/convos endpoint that allows an authenticated attacker to crash the Node.js server process by sending malformed requests. The DELETE /api/convos route handler attempts to destructure req.body.arg without validating that it exists. The server crashes due to an unhandled TypeError that bypasses Express error handling middleware and triggers process.exit(1). This vulnerability is fixed in 0.8.3-rc1.

Executive ViewAI

Why It Matters

Organizations using LibreChat should be aware of notable risk from CVE-2026-31949 rated CVSS 6.5. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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

Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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-2024-11170 HIGH POC
8.8 Mar 20

A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of f

CVE-2024-10361 CRITICAL POC
9.1 Mar 20

An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /ap

CVE-2026-22252 CRITICAL POC
9.1 Jan 12

LibreChat before v0.8.2-rc2 allows any authenticated user to execute shell commands as root inside the container through

CVE-2025-8850 HIGH POC
8.8 Oct 30

LibreChat 0.7.9 lets an authenticated user turn off two-factor authentication on their own account without supplying a v

CVE-2025-66450 HIGH POC
8.6 Dec 11

Stored cross-site scripting and tracker injection in LibreChat 0.8.0 and earlier allow a user who can create a chat to c

CVE-2025-66201 HIGH POC
8.6 Nov 29

LibreChat is a ChatGPT clone with additional features. Rated high severity (CVSS 8.6), this vulnerability is remotely ex

CVE-2025-69222 HIGH POC
8.1 Jan 07

LibreChat 0.8.1-rc2 has SSRF in the Actions feature that allows authenticated users to make the server perform requests

CVE-2024-11171 HIGH POC
7.5 Mar 20

In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. Rated high severity (

CVE-2025-7104 HIGH POC
7.5 Sep 29

A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. Rated high severity (CVSS 7.5),

CVE-2025-8849 HIGH POC
7.5 Oct 31

Unbounded `key` and `value` parameters on the LibreChat 0.7.9 memory API (`POST /api/memories` and `PATCH /api/memories/

CVE-2024-11173 MEDIUM POC
6.5 Mar 20

An unhandled exception in the danny-avila/librechat repository, version git 600d217, can cause the server to crash, lead

CVE-2024-10366 MEDIUM POC
6.5 Mar 20

An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat

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