Unvalidated runtimeArguments and identifier in server.json import & unvalidated URL scheme in web ElicitationUrlModalBody.
Does it affect you?
Timeline
5 Nov- Published by the maintainer in modelcontextprotocol/inspector5 Nov, 00:29 UTC
- Seen by Patchwire +52 min5 Nov, 01:21 UTC
- Not in the GitHub database 25 days later29 Nov, 19:15 UTC
Versions of @modelcontextprotocol/inspector
Packages
Stacks
Related alerts(8)
Same packagesSource summary
core/mcp/node/fetchGuard.ts 's isBlockedAddress() blocks 169.254.0.0/16 , two named cloud-metadata IPv4 addresses, their IPv4-mapped-IPv6 forms, fe80::/10 and fd00:ec2::254: but not RFC 6052's NAT64 well-known prefix 64:ff9b::/96 , which embeds an IPv4 address in its low 32 bits. A malicious or compromised MCP server that names a NAT64 address (e.g. 64:ff9b::a9fe:a9fe , the NAT64 form of 169.254.169.254 ) as its OAuth protected-resource authorization servers[0] , or as the MCP server URL itself, gets Inspector's Node backend to fetch that address directly: on a host whose network has…
- Affected
- @modelcontextprotocol/inspector >=2.0.0 <=2.16.0 · @modelcontextprotocol/inspector <=1.0.6 · @modelcontextprotocol/inspector-server <=1.0.6
- Fixed in
- 2.17.0 · 1.0.7
- ID
- GHSA-v2gx-m79c-pvxj
- Connected to a malicious MCP server via the legacy sse transport.
- Affected
- @modelcontextprotocol/inspector >=2.7.0 <=2.15.0 · @modelcontextprotocol/inspector <=1.0.5 · @modelcontextprotocol/inspector-server <=1.0.5
- Fixed in
- 2.16.0 · 1.0.6
- ID
- GHSA-3xgv-mvj6-g78r
Source summary
A connected MCP server that answers a JSON-RPC request with a text/event-stream POST response, withholds the final reply, and keeps the stream open makes the Inspector web backend buffer the whole stream with no size cap. Backend memory grows until the Node process exits with a JavaScript heap OOM, dropping every session on that backend. The attacker is the upstream server; it needs no Inspector credentials. GHSA-m5pj-3536-3xcp fixed the same class on POST /api/fetch in 2.12.0; the /api/mcp/ transport has a separate uncapped read that is still present in 2.13.0. The web backend enables fetch…
- Affected
- @modelcontextprotocol/inspector >=2.0.0 <=2.14.0
- Fixed in
- 2.15.0
- ID
- GHSA-9w48-x22j-rrm7
- Project uses the mcpdo client daemon (clients/mcpdo/src/daemon/paths.ts) from the official MCP repository.
- The daemon and its clients run on Windows (process.platform === "win32"), using a deterministic named pipe derived from the daemon directory path.
- A local attacker on the same machine can create a named pipe \\.\pipe\mcp-conn-<hash> before the legitimate daemon does.
- Clients connect to the daemon pipe and send the bearer token without first authenticating the daemon.
- Affected
- @modelcontextprotocol/inspector >=2.10.0 <=2.14.0
- Fixed in
- 2.15.0
- ID
- GHSA-5572-x678-xmv8
- Uses the @modelcontextprotocol/inspector v2 web client (2.14.0 or v2/main before a fix).
- User imports a server.json they did not write via Add server → import server.json.
- The imported server.json declares environmentVariables defaults/values for runtime-controlling vars such as NODE_OPTIONS, npm_config_registry, UV_INDEX_URL, PIP_INDEX_URL, DOCKER_HOST, PATH or LD_PRELOAD.
- User clicks Add and starts the imported server.
- Affected
- @modelcontextprotocol/inspector 2.14.0
- Fixed in
- 2.15.0
- ID
- GHSA-pp85-586h-2m95
- Project uses the MCP SDK's guarded fetch in core/mcp/node/fetchGuard.ts for OAuth fetches.
- The OAuth URL fetched is server-controlled and can be set to an IP literal such as 100.100.100.200.
- The project runs on a cloud host whose metadata endpoint is outside the hard-coded block-list (e.g., Alibaba Cloud at 100.100.100.200).
- Affected
- @modelcontextprotocol/inspector >=2.0.0 <=2.14.0 · @modelcontextprotocol/inspector <=1.0.4 · @modelcontextprotocol/inspector-server <=1.0.4
- Fixed in
- 2.15.0 · 1.0.5
- ID
- GHSA-fvg8-f358-w2c8
- Uses the MCP Inspector web client (not CLI or TUI).
- An MCP App is rendered in the web client's Apps tab.
- The rendered app comes from an untrusted, malicious or compromised MCP server.
- The app loads on the default opaque-origin (srcdoc) sandbox proxy path, without requesting a dedicated origin via _meta.ui.domain.
- Affected
- @modelcontextprotocol/inspector >=2.0.0 <=2.13.0
- Fixed in
- 2.14.0
- ID
- GHSA-h9j8-vj8g-v3gg
- Uses MCP Inspector v2.
- Inspector is connected to a malicious or untrusted MCP server.
- The server advertises a tool whose outputSchema contains a ReDoS-prone regex pattern.
- The user invokes that tool, and the server returns structuredContent that near-matches the pattern.
- Affected
- @modelcontextprotocol/inspector >=2.0.0 <=2.13.0 · @modelcontextprotocol/inspector <=1.0.3
- Fixed in
- 2.14.0 · 1.0.4
- ID
- GHSA-2fw8-7jmw-r937