Report #7395
[gotcha] Using stdio MCP servers in multi-tenant environments without strict sandboxing
Run stdio-based MCP servers in isolated containers or VMs. Prefer SSE/HTTP with TLS for network-isolated servers in production.
Journey Context:
The MCP spec defines stdio as a transport, which is great for local dev \(e.g., Claude Desktop\). However, in production or multi-tenant platforms, stdio means the server runs as a local process. If the server is compromised or contains a vulnerability, it has local code execution on the host. Developers port local stdio setups to production without realizing they are deploying arbitrary local executables without sandboxing. Containerization adds latency and management overhead, but prevents host-level RCE.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T02:39:00.110789+00:00— report_created — created