UTC
High

Incomplete fix for CVE-2025-49596: DNS-rebinding info disclosure (API token + stored OAuth tokens) in MCP Inspector

GHSA-vcc9-3xgm-p9v4 · published 2026-10-21

Severity
High
CVSS score
Not scored
Chance of exploitation (EPSS)
No CVE
Fixed in
2.12.0
What it is

Theft of the Inspector API token, the OAuth access/refresh tokens the user configured for connected MCP servers/services (real downstream credentials), server configs, and arbitrary local client-config file contents, from any web page the victim visits, on a default localhost deployment, subject to the browser lacking DNS-rebinding / Private Network Access mitigations (the exact assumption the server-side Origin/Host checks exist to remove).

What to do

Upgrade @modelcontextprotocol/inspector to 2.12.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.

Validate the Host header against the bound host/port on all routes (including the outer GET / and static/SPA routes), rejecting requests whose Host is not an allowed loopback host:port. This is the piece that actually stops rebinding. Do not treat a missing Origin as trusted for state-reading or secret-returning routes; require the auth token (and/or a validated Host) even when Origin is absent. Require the auth token (or a Host check) on GET / so the token is not disclosed to a rebound same-origin request. Consider delivering the token via a mechanism not readable by a cross-host attacker (e.g. only when Host is validated).

Affected
PackageRegistryAffectedFixed in
@modelcontextprotocol/inspectornpm>= 2.0.0, <= 2.11.02.12.0
Also in @modelcontextprotocol/inspector
  1. CriticalMalicious MCP OAuth callback can switch transport to stdio and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client
  2. CriticalRemote MCP App can steal proxy auth token and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client, @modelcontextprotocol/inspector-server
  3. CriticalMCP Inspector proxy server lacks authentication between the Inspector client and proxy@modelcontextprotocol/inspector
  4. HighA remote MCP server can execute arbitrary code on the user's machine through the OAuth authorization URL (PowerShell subexpression injection@modelcontextprotocol/inspector
  5. HighMissing Authentication for Critical Function in @modelcontextprotocol/inspector@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-server
  6. HighMCP Inspector is Vulnerable to Potential Command Execution via XSS When Connecting to an Untrusted MCP Server@modelcontextprotocol/inspector

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.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by the MCP reference servers project (https://github.com/modelcontextprotocol/servers/security/advisories); advisories published by the MCP Inspector project (https://github.com/modelcontextprotocol/inspector/security/advisories); advisories published by the MCP TypeScript SDK project (https://github.com/modelcontextprotocol/typescript-sdk/security/advisories); advisories published by the MCP Go SDK project (https://github.com/modelcontextprotocol/go-sdk/security/advisories); advisories published by the MCP Java SDK project (https://github.com/modelcontextprotocol/java-sdk/security/advisories); advisories published by the MCP Kotlin SDK project (https://github.com/modelcontextprotocol/kotlin-sdk/security/advisories); advisories published by the MCP Rust SDK project (https://github.com/modelcontextprotocol/rust-sdk/security/advisories); advisories published by the MCP Ruby SDK project (https://github.com/modelcontextprotocol/ruby-sdk/security/advisories); advisories published by the MCP C# SDK project (https://github.com/modelcontextprotocol/csharp-sdk/security/advisories); advisories published by the MCP PHP SDK project (https://github.com/modelcontextprotocol/php-sdk/security/advisories); advisories published by the MCP Registry project (https://github.com/modelcontextprotocol/registry/security/advisories); advisories published by Open Terminal (https://github.com/open-webui/open-terminal/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-12-06. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].