Unauthenticated command execution via streamable HTTP MCP transport
GHSA-7m7w-cmv4-gcq2 · published 2026-09-23
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 0.14.0
An unauthenticated client that reaches the streamable HTTP MCP listener can enumerate and call every generated tool, including run_command, and so run arbitrary shell commands with the privileges of the Open Terminal process, plus file read/write, process control, and terminal interaction. On bare metal this is the running user; in Docker it is inside the container, with reach to whatever is mounted or granted to it. The crossed boundary is authentication: the API key is meant to gate these operations, and the HTTP MCP transport reached them without it.
Upgrade open-terminal to 0.14.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Fixed in 0.14.0 (PR #181). The MCP server now attaches a TokenVerifier (auth=ApiKeyVerifier()) to its HTTP transports that requires the connecting client to present the API key, compared with hmac.compare_digest against the configured key. Clients with no token or a wrong token are rejected before tools/list or tools/call. The stdio transport is local and does not pass through this layer, so it keeps working. Upgrading to 0.14.0 fully resolves the issue.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| open-terminal | PyPI | >= 0.11.35, < 0.14.0 | 0.14.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalJupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fixjupyter-mcp-server
- CriticalUnauthenticated Superuser Token Issuance via Default-Enabled auto_login Endpointlangflow
The impact, patch and workaround text comes from the advisory, shortened (published by Open Terminal). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.