Skip to main content

LibreChat CVE-2026-44653

MEDIUM
Insertion of Sensitive Information Into Sent Data (CWE-201)
2026-06-02 security-advisories@github.com
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Obtain LibreChat account with VIEW access to shared MCP server
  2. Delivery
    Send authenticated GET /api/mcp/servers request
  3. Exploit
    Extract plaintext apiKey.key and oauth.client_secret from JSON response
  4. Execution
    Authenticate directly against upstream AI provider using exfiltrated credentials
  5. Impact
    Access or abuse provider account outside LibreChat controls

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
Exploitation Conditions

The attacker must hold a valid LibreChat user account that has been explicitly granted VIEW-level access to at least one admin-managed MCP server - this is the specific access tier that incorrectly exposes secrets. The vulnerable endpoints are triggered by standard authenticated HTTP GET requests requiring no special tooling, crafted payloads, or race conditions. No non-default configuration is required; any deployment of LibreChat ≤0.8.3 with at least one shared MCP server and at least one VIEW-access user is exploitable. Exploitation is limited by the PR:L requirement: unauthenticated users and authenticated users who have not been granted MCP server VIEW access cannot reach the vulnerable code path. There is no user interaction requirement from a victim - the attacker acts entirely on their own session.

Impact

The CVSS 6.5 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately represents the threat profile: network-reachable with no attack complexity, requiring only low-privilege authentication, with high confidentiality impact due to plaintext provider credential exposure. No EPSS score was provided in the input data, so exploitation probability cannot be quantified numerically. The CVE is absent from CISA KEV and no POC is referenced, meaning no active or public exploitation is confirmed. Real-world risk is highest in team or enterprise LibreChat deployments where MCP servers are shared across users with varying trust levels - a single curious or malicious viewer can silently exfiltrate all underlying provider credentials without triggering any elevated-privilege alert. Risk is meaningfully bounded by the PR:L requirement: only users explicitly granted VIEW access by an admin can exploit this, excluding unauthenticated attackers and users with no MCP server access.

Exploit ScenarioDerived

An attacker with a standard LibreChat account that has been granted VIEW access to a shared MCP server sends an authenticated HTTP GET request to /api/mcp/servers or /api/mcp/servers/:serverName. The JSON response contains the fully decrypted configuration including plaintext apiKey.key and oauth.client_secret values, which the attacker copies and uses directly against the upstream AI provider API - bypassing LibreChat's access controls and potentially incurring costs or exfiltrating data under the organization's provider account. No public POC has been identified, but the attack requires nothing beyond a browser or curl with a valid session token.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 02, 2026

LibreChat's MCP server configuration API leaks decrypted admin-managed credentials - including plaintext API keys and OAuth client secrets - to any authenticated user holding only VIEW-level access to a shared MCP server. All deployments running versions up to and including 0.8.3 are affected, with the flaw accessible via standard GET requests to /api/mcp/servers and /api/mcp/servers/:serverName. No public exploit or active exploitation has been identified at time of analysis, but the low-complexity, low-privilege network vector makes credential exfiltration straightforward in any multi-user LibreChat environment.

RemediationAI

Upgrade LibreChat to version 0.8.4, which contains the official patch per GitHub Security Advisory GHSA-6vqg-rgpm-qvf9 (https://github.com/danny-avila/LibreChat/security/advisories/GHSA-6vqg-rgpm-qvf9). If immediate upgrade is not feasible, restrict VIEW access to MCP servers to fully trusted users only - this limits collaboration functionality but removes unauthorized viewers from the exploitable population. The advisory additionally recommends the following architectural controls as defense-in-depth: redacting apiKey.key and oauth.client_secret from all API responses and returning only boolean presence indicators (e.g., hasApiKey: true), consistent with the existing auth-values route pattern already in the codebase; and preserving secrets server-side while returning opaque placeholders to owners to avoid requiring secret re-entry during config edits. Regardless of upgrade status, all API keys and OAuth client secrets that were accessible to VIEW-permission users should be rotated immediately on affected provider platforms, as any exposure window since 0.8.3 deployment must be treated as a potential compromise.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

LibreChat implements a Model Context Protocol (MCP) abstraction layer enabling administrators to configure shared AI provider integrations with secrets such as API keys and OAuth client credentials stored server-side in encrypted form. CWE-201 (Insertion of Sensitive Information Into Sent Data) identifies the root cause: the API serialization layer returns the fully decrypted configuration object - including apiKey.key and oauth.client_secret fields - to the HTTP response without any secrets-scrubbing or redaction step. The CVSS vector AV:N/AC:L/PR:L/UI:N confirms the endpoints are network-accessible and require only the low-privilege VIEW permission, which is explicitly the access level designed for read-only consumers of shared MCP servers. The advisory notes that a correct pattern - returning boolean presence indicators rather than plaintext values - already exists in the auth-values route of the same codebase, making this a localized failure to apply a known internal standard.

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) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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

CVSS VectorVendor: github

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

DescriptionCVE.org

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.8.3, users with only VIEW access to an MCP server can retrieve the server's decrypted admin-managed secrets through GET /api/mcp/servers and GET /api/mcp/servers/:serverName. The returned config includes plaintext values for apiKey.key and oauth.client_secret. This allows viewers of a shared MCP server to exfiltrate the underlying provider credentials. Version 0.8..4 contains a patch. Other remediations include: never returning decrypted admin-managed secrets to non-owners; redacting apiKey.key and oauth.client_secret from all API responses consider returning only boolean presence indicators for secrets, similar to the auth-values route pattern; and, if owners need to edit configs without re-entering secrets, preserving secrets server-side and returning placeholders instead of plaintext.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL 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 No
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*
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