# CVE-2026-32625: LibreChat Exfiltrates Server Secrets via MCP Server URL Injection

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.79%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-02T22:35:00.859Z
- Modified: 2026-07-22T19:10:00.120Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: < 0.8.4-rc1
- librechat librechat: before 0.8.4

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-4pcc-j6m6-wcwx> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-32625](https://www.cve.org/CVERecord?id=CVE-2026-32625), CVE Terms of Use, modified 2026-06-03
- NVD: [CVE-2026-32625](https://nvd.nist.gov/vuln/detail/CVE-2026-32625), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-32625 · Whole record: https://cve.day/CVE-2026-32625.json · Rebuilt by cve.day 2026-11-25T22:59:23.616Z
