mcp-cve-project

CVE-2026-44653 | LibreChat VIEW-only users retrieve decrypted admin MCP server secrets | Medium |

CVE Information

Field Value
CVE / NVD CVE-2026-44653
Date (index) 2026-06-02
Affected product (index) LibreChat — GET /api/mcp/servers returns plaintext apiKey.key and oauth.client_secret to VIEW-only users
GHSA ID GHSA-6vqg-rgpm-qvf9
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-06-02
Ecosystem Application (vendor product)
Component LibreChat MCP server API (GET /api/mcp/servers, GET /api/mcp/servers/:serverName)
EPSS score 0.002760000 (FIRST EPSS, 2026-07-16)
CVSS score MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (base 6.5)
CWE CWE-201 (Insertion of Sensitive Information Into Sent Data)
Affected versions LibreChat ≤ 0.8.3
Fixed versions 0.8.4
Fix status Patched
Exploit status Public advisory
Notes Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates.

CVE Breakdown


What is the vulnerability?

LibreChat is an enhanced ChatGPT clone supporting multiple AI providers including MCP. In versions up to and including 0.8.3, the endpoints GET /api/mcp/servers and GET /api/mcp/servers/:serverName return the decrypted values of admin-managed secrets — specifically apiKey.key and oauth.client_secret — in their JSON responses. Users who have only VIEW access to a shared MCP server (not owner or admin) can therefore retrieve the underlying provider credentials in plaintext by calling these endpoints directly.

Attack prerequisites / exposure

Requires an authenticated LibreChat user account with at minimum VIEW access to at least one shared admin-managed MCP server. This is the lowest possible permission level for MCP server access, meaning any user the admin has shared an MCP server with is affected.

CVE is because of what bug?

The API serialization layer does not distinguish between owner/admin responses and viewer responses when returning MCP server configurations. Secrets that should only be accessible to the server owner or admin are included in the response payload for all permission levels. The fix redacts apiKey.key and oauth.client_secret from responses to non-owners and returns boolean presence indicators instead of plaintext values.

MCP-specific impact / why it matters

Admin-managed MCP servers in LibreChat are a multi-tenant feature: admins configure shared integrations (e.g. external API keys, OAuth credentials) and grant team members view-only access. The vulnerability defeats the access control model entirely for the credential layer: a viewer can exfiltrate all provider credentials simply by issuing a GET request, then use those credentials outside LibreChat without any audit trail.

Where was the bug? (source + snippet)

// GET /api/mcp/servers response (LibreChat ≤ 0.8.3) included:
// { "apiKey": { "key": "<plaintext_api_key>" }, "oauth": { "client_secret": "<plaintext_secret>" } }
// returned identically to VIEW-only users and server owners.

Fix / Remediation

Upgrade to LibreChat 0.8.4 or later. The fix redacts secret fields from all API responses for non-owners and returns placeholder indicators instead of plaintext values.

Upstream fix (open source)