CLI and TUI print server-controlled C1 controls to the terminal
GHSA-2mr9-588x-f57x · published 2026-12-05
- Severity
- Medium
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.18.0
Our code review of modelcontextprotocol/inspector at commit 2069a1a4d8c777360621f4c90c04017012bd5fae (tag 2.17.0, current main HEAD, ahead_by 0) found that the CLI and several TUI paths print server-controlled C1 control characters to the terminal. This is source review only; nothing was compiled or run. The Inspector writes tool names, descriptions, results, resource and prompt output, and other server text to the developer's terminal. …
Upgrade @modelcontextprotocol/inspector to 2.18.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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @modelcontextprotocol/inspector | npm | >= 0.10.2, <= 1.0.7 | 1.0.8 |
| @modelcontextprotocol/inspector | npm | >= 2.0.0-rc.1, <= 2.17.0 | 2.18.0 |
4 registered MCP servers install an affected version, by the dependency versions deps.dev resolved for a fresh install. The trace says when.
- com.docfork/docfork-mcp@modelcontextprotocol/inspector@0.18.0
- io.github.docfork/docfork@modelcontextprotocol/inspector@0.18.0
- io.github.ref-tools/ref-tools-mcp@modelcontextprotocol/inspector@0.16.8
- io.github.taazkareem/clickup@modelcontextprotocol/inspector@0.20.0
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- CriticalMalicious MCP OAuth callback can switch transport to stdio and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client
- CriticalRemote MCP App can steal proxy auth token and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client, @modelcontextprotocol/inspector-server
- CriticalMCP Inspector proxy server lacks authentication between the Inspector client and proxy@modelcontextprotocol/inspector
- HighA remote MCP server can execute arbitrary code on the user's machine through the OAuth authorization URL (PowerShell subexpression injection@modelcontextprotocol/inspector
- HighIncomplete fix for CVE-2025-49596: DNS-rebinding info disclosure (API token + stored OAuth tokens) in MCP Inspector@modelcontextprotocol/inspector
- HighMissing Authentication for Critical Function in @modelcontextprotocol/inspector@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-server
The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Inspector project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.