LibreChat MCP Stdio Remote Command Execution
Priority HIGH 76CWE-285Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-285.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.04223 91st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed LibreChat (danny-avila): v0.8.2-rc2
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| danny-avila | LibreChat | before v0.8.2-rc2 | v0.8.2-rc2 | Patch available | CNA |
- LibreChat Vendordanny-avila Affected before v0.8.2-rc2 Fixed in v0.8.2-rc2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:librechat:librechat:0.8.2:rc1:*:*:*:*:*:* | 0.8.2 rc1 | Vulnerable | danny-avila |
- cpe:2.3:a:librechat:librechat:0.8.2:rc1:*:*:*:*:*:* Versions 0.8.2 rc1 Vulnerable ·danny-avila
Remediation
- Fix · CNA LibreChat (danny-avila) Fixed in v0.8.2-rc2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22252
References
More danny-avila Librechat vulnerabilities
- TI-2026-25134 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection CVSS 3.1CRITICAL 9.6
- TI-2026-38976 LibreChat: Missing Resource Parameter Validation in MCP OAuth Flow CVSS 3.1CRITICAL 9.3
- TI-2024-27763 LibreChat through 0.7.4-rc1 has incorrect access control for message updates. CVSS 3.1CRITICAL 9.8
- TI-2024-10347 Path Traversal in danny-avila/librechat CVSS 3.0HIGH 8.8
- TI-2026-25682 In LibreChat 0.8.1-rc2, a logged-in user obtains a JWT for both the LibreChat API and the RAG API. CVSS 3.1CRITICAL 9.0
- TI-2025-42676 LibreChat is vulnerable to Server-Side Request Forgery due to missing restrictions CVSS 3.1CRITICAL 9.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences