Vulnerability · Published Jun 2, 2026 · Assigned by GitHub_M
CVE-2026-44653LibreChat Shared MCP Server View Leaks Decrypted Admin Secrets
Medium 6.5
In plain English
A medium-severity security flaw in LibreChat from danny-avila. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| danny-avila | LibreChat | < 0.8.4 |
Weakness: CWE-201 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-6vqg-rgpm-qvf9 x_refsource_CONFIRM