{"id":"CVE-2026-32625","published":"2026-06-02T22:35:00Z","modified":"2026-06-03T14:07:46Z","title":"LibreChat Exfiltrates Server Secrets via MCP Server URL Injection","vendor":"danny-avila","product":"LibreChat","tier":"tail","description":{"text":"LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.8.3, the Model Context Protocol (MCP) server integration resolves ${VAR} placeholders against the server's process.env during Zod schema validation of user-supplied MCP server URLs. Any authenticated user can create a malicious MCP server configuration with a URL pointing to an attacker-controlled domain containing environment variable references, causing the LibreChat server to connect to the attacker's server and transmit critical secrets such as CREDS_KEY, CREDS_IV, JWT_SECRET, and MONGO_URI in the request URL. This enables full compromise of the installation's cryptographic materials and database credentials without requiring administrative privileges. This is patched in version 0.8.4-rc1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02792,"percentile":0.86766,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-4pcc-j6m6-wcwx","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":17.35},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"danny-avila","affectedVersions":[{"vendor":"danny-avila","product":"LibreChat","versions":["< 0.8.4-rc1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-03T13:28:03.174610Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-34046","exploited":false,"provenance":"source"}}