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
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).
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).
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @modelcontextprotocol/inspector | npm | >= 2.0.0, <= 2.11.0 | 2.12.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
- 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
- HighMissing Authentication for Critical Function in @modelcontextprotocol/inspector@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-server
- 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.