Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31949: CWE-248: Uncaught Exception in danny-avila LibreChat

0
Medium
VulnerabilityCVE-2026-31949cvecve-2026-31949cwe-248
Published: Fri Mar 13 2026 (03/13/2026, 19:47:24 UTC)
Source: CVE Database V5
Vendor/Project: danny-avila
Product: LibreChat

Description

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.

AI-Powered Analysis

AILast updated: 03/13/2026, 20:29:29 UTC

Technical Analysis

CVE-2026-31949 is a Denial of Service vulnerability identified in the LibreChat application, a ChatGPT clone with additional features. The vulnerability resides in the DELETE /api/convos API endpoint in versions prior to 0.8.3-rc1. Specifically, the endpoint handler attempts to destructure the property req.body.arg without verifying that req.body or arg exists. When an authenticated attacker sends a malformed request missing the expected argument, this results in an unhandled TypeError. Because the error bypasses Express.js error handling middleware, the Node.js process calls process.exit(1), causing the server to crash and become unavailable. This vulnerability is classified under CWE-248 (Uncaught Exception) and does not require user interaction but does require the attacker to be authenticated. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects network attack vector, low attack complexity, requiring privileges, no user interaction, unchanged scope, no confidentiality or integrity impact, but high impact on availability. No known exploits are reported in the wild. The issue is resolved in LibreChat version 0.8.3-rc1 by adding proper validation to ensure req.body.arg exists before destructuring, preventing the unhandled exception and server crash.

Potential Impact

The primary impact of this vulnerability is a Denial of Service condition, where an attacker with valid credentials can crash the LibreChat server, causing service unavailability. This can disrupt communication and chatbot services relying on LibreChat, potentially affecting business operations, customer support, or internal workflows. Since the vulnerability does not affect confidentiality or integrity, data breaches or unauthorized data modification are not direct concerns. However, repeated exploitation could degrade user trust and availability of critical AI-driven chat services. Organizations using LibreChat in production environments, especially those exposing the API endpoint to authenticated users, face risks of service interruptions. The requirement for authentication limits the attack surface but does not eliminate risk, particularly in environments with many users or weak access controls.

Mitigation Recommendations

Organizations should immediately upgrade LibreChat to version 0.8.3-rc1 or later, where this vulnerability is fixed. In addition, implement strict input validation on all API endpoints to ensure expected request body parameters exist before destructuring or processing. Employ robust error handling middleware in Express.js to catch unexpected exceptions and prevent server crashes. Limit access to the DELETE /api/convos endpoint by enforcing strong authentication and authorization controls, minimizing the number of users with deletion privileges. Monitor server logs for repeated malformed requests or crashes indicative of exploitation attempts. Consider deploying rate limiting or anomaly detection to detect and block suspicious request patterns. Regularly audit and update dependencies and monitor security advisories for LibreChat and related components.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-10T15:10:10.657Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b4732e2f860ef943a92620

Added to database: 3/13/2026, 8:27:26 PM

Last enriched: 3/13/2026, 8:29:29 PM

Last updated: 3/14/2026, 3:49:39 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses