CVE-2026-44653: LibreChat Shared MCP Server View Leaks Decrypted Admin Secrets
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.clientsecret. 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.clientsecret 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.8..4 - Configuration
For non-owner users with only VIEW access, ensure GET /api/mcp/servers and GET /api/mcp/servers/:serverName never return decrypted admin-managed secrets. Specifically, redact apiKey.key and oauth.client_secret from API responses; optionally return only boolean presence indicators (or placeholders) rather than plaintext. If owners need to edit configs without re-entering secrets, preserve secrets server-side and return placeholders instead of plaintext.
MCP server API endpoints GET /api/mcp/servers and GET /api/mcp/servers/:serverName secret handling = Do not return decrypted admin-managed secret plaintext (e.g., redact apiKey.key and oauth.client_secret); return only boolean presence indicators or placeholders instead of plaintext
Event History
Frequently Asked Questions
What is the severity of CVE-2026-44653?
The severity of CVE-2026-44653 is medium with a CVSS score of 6.5.
How do I fix CVE-2026-44653?
To fix CVE-2026-44653, update LibreChat to version 0.8.4 or later.
What can be compromised due to CVE-2026-44653?
CVE-2026-44653 allows users with `VIEW` access to retrieve decrypted admin-managed secrets.
Which versions of LibreChat are affected by CVE-2026-44653?
Versions of LibreChat up to and including 0.8.3 are affected by CVE-2026-44653.
What type of access is exploited in CVE-2026-44653?
CVE-2026-44653 exploits users with only `VIEW` access to an MCP server.