LibreChat
CVE-2026-44653
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LibreChat account with VIEW access to shared MCP server
-
DeliverySend authenticated GET /api/mcp/servers request
-
ExploitExtract plaintext apiKey.key and oauth.client_secret from JSON response
-
ExecutionAuthenticate directly against upstream AI provider using exfiltrated credentials
-
ImpactAccess 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of f
An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /ap
LibreChat before v0.8.2-rc2 allows any authenticated user to execute shell commands as root inside the container through
LibreChat 0.7.9 lets an authenticated user turn off two-factor authentication on their own account without supplying a v
Stored cross-site scripting and tracker injection in LibreChat 0.8.0 and earlier allow a user who can create a chat to c
LibreChat is a ChatGPT clone with additional features. Rated high severity (CVSS 8.6), this vulnerability is remotely ex
LibreChat 0.8.1-rc2 has SSRF in the Actions feature that allows authenticated users to make the server perform requests
In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. Rated high severity (
A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. Rated high severity (CVSS 7.5),
Unbounded `key` and `value` parameters on the LibreChat 0.7.9 memory API (`POST /api/memories` and `PATCH /api/memories/
An unhandled exception in the danny-avila/librechat repository, version git 600d217, can cause the server to crash, lead
An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB