GHSA-w3fx-mc44-mf6j: Chainlit has command injection via MCP stdio transport that allows unauthenticated remote code execution
Summary
Chainlit versions 2.4.0 through 2.11.x have a critical vulnerability in their MCP (Model Context Protocol) feature that allows unauthenticated attackers to execute arbitrary commands on the server. The vulnerability exists because the `/mcp` endpoint accepts user-controlled commands but only checks the executable name (like `npx`) against an allowlist, not the arguments passed to it, allowing attackers to use `npx -y -c 'ARBITRARY COMMAND'` to run malicious code with the server's privileges.
Solution / Mitigation
Upgrade to Chainlit version 2.12.0 (released 2026-08-25). This version removes the `fullCommand` parameter from client requests entirely; instead, MCP servers are now declared by developers in `.chainlit/config.toml` under `[[features.mcp.servers]]` and selected by name at connection time, so commands never cross from client to server and no sanitization vulnerability exists.
Vulnerability Details
EPSS: 0.0%
Yes
August 25, 2026
Classification
Taxonomy References
Affected Vendors
Affected Packages
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
Original source: https://github.com/advisories/GHSA-w3fx-mc44-mf6j
First tracked: August 25, 2026 at 08:01 PM
Classified by LLM (prompt v3) · confidence: 95%