Skip to main content

Librechat CVE-2026-31950

| EUVDEUVD-2026-16767 MEDIUM
Improper Access Control (CWE-284)
2026-03-27 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS score of 5.3 (medium) reflects limited attack complexity (AC:H) and local scope, the real-world risk is moderate-to-high when contextual factors are considered. The vulnerability requires authentication (PR:L), limiting exposure to users with valid accounts; however, in multi-tenant SaaS deployments or shared LibreChat instances, account registration may be trivial. The confidentiality impact is high (C:H) - attackers gain direct access to other users' conversations, potentially exposing sensitive data, API keys, personal information, or proprietary discussions. The attack complexity is high (AC:H), which typically accounts for the need to guess or enumerate valid stream IDs; however, stream IDs may be predictable or enumerable if not cryptographically random. No KEV status or public exploit code is confirmed in the provided data, suggesting limited real-world weaponization at analysis time. The CVSS vector accurately captures the profile: remote delivery, authentication required, high confidentiality impact, no integrity or availability compromise. Prioritize patching in multi-tenant or shared deployments where unauthorized information disclosure poses regulatory or reputational risk.

Exploit ScenarioDerived

An authenticated user in a multi-tenant LibreChat deployment discovers or enumerates stream IDs via timing analysis, error messages, or API observation. The attacker crafts a request to /api/agents/chat/stream/[victim_stream_id] and establishes an SSE connection, receiving a real-time stream of another user's chat messages and AI responses without ownership verification. The attacker passively monitors the stream to extract sensitive information such as API keys, credentials, or proprietary business logic discussed in the conversation. No active exploit code or in-the-wild attacks are documented in the provided intelligence; however, the simplicity of the attack (authentication + stream ID enumeration) makes it likely to be discovered and exploited once publicly disclosed.

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 27, 2026

Unauthenticated stream hijacking in LibreChat versions 0.8.2-rc2 through 0.8.2-rc3 allows authenticated users to read other users' real-time chat conversations via the SSE streaming endpoint /api/agents/chat/stream/:streamId without ownership verification. An attacker with valid credentials can enumerate or guess stream IDs to intercept sensitive messages, AI-generated responses, and tool invocation data from arbitrary users. The vulnerability was patched in version 0.8.2.

RemediationAI

Vendor-released patch: LibreChat version 0.8.2 and later. Upgrade from 0.8.2-rc2 or 0.8.2-rc3 to the stable 0.8.2 release or any later version. The patch implements owner verification on the /api/agents/chat/stream/:streamId endpoint to ensure only the authenticated user who initiated the stream can subscribe to its SSE output. Reference the GitHub security advisory GHSA-f6rf-vm44-wh5g at https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f6rf-vm44-wh5g for detailed guidance and confirmation. If immediate upgrade is not feasible, isolate affected instances from untrusted network access or restrict user account creation to trusted parties to limit the attack surface.

Affected VersionsENISA

LibreChat 0.8.2-rc2, < 0.8.2

Affected Packages

euvd librechat_0_8_2_rc2 fix: 0.8.2

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 implements Server-Sent Events (SSE) streaming for real-time chat delivery via the /api/agents/chat/stream/:streamId endpoint. The vulnerability stems from a missing authorization check (CWE-284: Improper Access Control) that fails to validate whether the authenticated user owns or has permission to subscribe to the requested stream resource. The endpoint accepts a stream ID parameter in the URL path but does not cross-reference it against the authenticated user's session or user ID before establishing the SSE connection. This design flaw allows any authenticated user to construct a request with a stream ID belonging to another user and receive their chat data in real-time. The affected product is LibreChat (CPE: cpe:2.3:a:danny-avila:librechat:*:*:*:*:*:*:*:*), an open-source ChatGPT alternative built with Node.js and web technologies.

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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
0.8.2
CVE Published
Mar 27, 2026 - 19:25 nvd
MEDIUM 5.3

DescriptionCVE.org

LibreChat is a ChatGPT clone with additional features. In versions 0.8.2-rc2 through 0.8.2-rc3, the SSE streaming endpoint /api/agents/chat/stream/:streamId does not verify that the requesting user owns the stream. Any authenticated user who obtains or guesses a valid stream ID can subscribe and read another user's real-time chat content, including messages, AI responses, and tool invocations. Version 0.8.2 patches the issue.

Executive ViewAI

Why It Matters

Organizations using versions 0.8.2-rc2 should be aware of moderate risk from CVE-2026-31950, a improper access control vulnerability rated CVSS 5.3. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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