# CVE-2026-22252: LibreChat MCP Stdio Remote Command Execution

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- 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): 0.59%, higher than 42% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T18:01:48.399Z
- Modified: 2026-06-17T10:19:38.360Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

LibreChat is a ChatGPT clone with additional features. Prior to v0.8.2-rc2, LibreChat's MCP stdio transport accepts arbitrary commands without validation, allowing any authenticated user to execute shell commands as root inside the container through a single API request. This vulnerability is fixed in v0.8.2-rc2.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: < v0.8.2-rc2
- librechat librechat: 0.8.2

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-cxhj-j78r-p88f> (exploit, vendor-advisory)
- <https://github.com/danny-avila/LibreChat/commit/211b39f3113d4e6ecab84be0a83f4e9c9dea127f> (patch)

## Sources

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

---

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