server.json import: declared environment-variable defaults change what the reviewed command runs (NODE_OPTIONS, npm_config_registry), outsid
GHSA-pp85-586h-2m95 · published 2026-11-12
- Severity
- Low
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.15.0
Users of the v2 web client who import a server.json they did not write (copied from a README, a registry listing, a chat message). The 2.14 launch preview shows a command line that looks exactly like the official package, while a declared env default runs attacker code in the spawned runtime (NODE_OPTIONS) or fetches the package from an attacker-controlled registry (npm_config_registry / UV_INDEX_URL). That is code execution as the user on the machine running the Inspector backend. Mitigating factors: the user must click Add and start the server, and the env values are visible in the editable Environment Variables inputs.
Upgrade @modelcontextprotocol/inspector to 2.15.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 | = 2.14.0 | 2.15.0 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
- 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.