mcp-cve-project

GHSA-2rq8-f55p-j2jp | MCP Inspector leaks proxy session token to query-controlled proxy origin | Medium |

Advisory Information

Field Value
GHSA ID GHSA-2rq8-f55p-j2jp
CVE ID No CVE assigned
Date (index) 2026-10-21
Affected product @modelcontextprotocol/inspector
OWASP MCP Top 10 (2025) MCP01 — Token Mismanagement & Secret Exposure
Published / disclosed 2026-10-21
Ecosystem npm
Component @modelcontextprotocol/inspector; @modelcontextprotocol/inspector-client
CVSS score 5.3 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE CWE-200
Affected versions @modelcontextprotocol/inspector: >= 0.14.1, <= 1.0.2; @modelcontextprotocol/inspector-client: >= 0.14.1, <= 1.0.2
Fixed versions @modelcontextprotocol/inspector: 1.0.3; @modelcontextprotocol/inspector-client: 1.0.3
Fix status Patched
Notes Updated on 2026-11-09 from the GitHub repository advisory.

Advisory Breakdown

Summary MCP Inspector allows MCP_PROXY_FULL_ADDRESS to be supplied through URL query parameters. On page load, the client automatically sends a /config request to the configured proxy address and includes the configured proxy session token in the X-MCP-Proxy-Auth header. As a result, an attacker who gets a user to open a crafted Inspector URL can cause the browser to send the user’s MCP Inspector proxy session token to an attacker-controlled HTTP endpoint. ### Details The vulnerable source-to-sink chain is: 1. client/src/utils/configUtils.ts:95-118 reads any key from DEFAULT_INSPECTOR_CONFIG from the current URL query string. 2. client/src/utils/configUtils.ts:157-159 applies query overrides after stored persistent/session config, so URL parameters take precedence over saved config. 3. client/src/lib/constants.ts:73-86 defines both MCP_PROXY_FULL_ADDRESS and MCP_PROXY_AUTH_TOKEN as Inspector config keys. 4. client/src/utils/configUtils.ts:15-27 returns config.MCP_PROXY_FULL_ADDRESS.value directly as the proxy origin when it is non-empty. 5. client/src/utils/configUtils.ts:45-55 returns the configured proxy token and header name. 6. client/src/App.tsx:700-730 automatically sends fetch(${getMCPProxyAddress(config)}/config, { headers }). When MCP_PROXY_AUTH_TOKEN is set, the request includes X-MCP-Proxy-Auth: Bearer <token>. 7. `cl

Fix / Remediation

Upgrade to the patched version listed above. Where the advisory says a setting is still required after the upgrade, apply that setting as well. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.

Detection / verification