Home

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.

PUBLISHED Reserved 2026-05-07 | Published 2026-06-02 | Updated 2026-06-03 | Assigner GitHub_M




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-201: Insertion of Sensitive Information Into Sent Data

Product status

< 0.8.4
affected

References

github.com/...reChat/security/advisories/GHSA-6vqg-rgpm-qvf9 exploit

github.com/...reChat/security/advisories/GHSA-6vqg-rgpm-qvf9

cve.org (CVE-2026-44653)

nvd.nist.gov (CVE-2026-44653)

Download JSON