Skip to content
EventPast event

MCP Inspector 2.15.0 fixes four security vulnerabilities

4 reports1 reporting sourcesLatest report

Start here

AI overview

MCP Inspector 2.15.0 fixes four security vulnerabilities. The fetch guard and event-stream issues affect all v2 versions from 2.0.0 to 2.14.0, the mcpdo daemon issue affects 2.10.0 to 2.14.0, and the server.json preview issue affects 2.14.0. The fetch guard vulnerability (GHSA-fvg8-f358-w2c8, HIGH severity, part of the Anthropic Bug Bounty program) is in fetchGuard.ts: the isBlockedAddress blacklist only hardcodes 169.254.0.0/16 and its IPv4-mapped form, fe80::/10, and fd00:ec2::254, and does not cover other metadata addresses such as Alibaba Cloud's 100.100.100.200; when a server-controlled OAuth URL is an IP literal, the protected request can reach the metadata service directly; 2.15.0 now blocks cloud metadata addresses beyond 169.254.0.0/16, including 100.100.100.200 and 192.0.0.192 and their decimal and IPv4-mapped IPv6 forms. In the server.json preview issue (GHSA-pp85-586h-2m95), the 2.14.0 import preview only shows environment variable names, not values; environmentVariables' default/value are copied verbatim into the saved configuration, and NODE_OPTIONS, npm_config_registry, etc. can change what is actually executed, so importing an untrusted server.json and starting it can lead to code execution as the user. The new advisory GHSA-9w48-x22j-rrm7 states that a malicious or compromised MCP server needs no Inspector credentials to return a text/event-stream POST response to a JSON-RPC request and keep the stream open; the backend only treats GET event streams as long-lived connections, and this path reads with no byte limit, with the buffer growing without bound until the Node process exits due to heap memory exhaustion and all sessions on it disconnect; in the same subsystem, /api/fetch is capped at 4 MiB and 401/403 response bodies at 64 KiB.

Generated by AI from reports · Updated 11 days ago

Latest developments

3 developments
  1. · 1 report
    MCP Inspector import preview omits environment variable values
    MCP Inspector: MCP Inspector 2.14.0 import preview does not show environment values; importing an untrusted server.json and starting it can lead to code execution
  2. · 2 reports
    MCP Inspector fetchGuard has an SSRF vulnerability
    MCP Inspector: MCP Inspector fetchGuard.ts has an SSRF vulnerability, fixed in 2.15.0
  3. · 1 report
    MCP Inspector has an unbounded read vulnerability causing backend OOM
    MCP Inspector: A malicious MCP server can interrupt MCP Inspector sessions; fixed in 2.15.0

Progress timeline

Nov 12
  1. MCP InspectorSelected
    MCP Inspector fetchGuard.ts has an SSRF vulnerability, fixed in 2.15.0

    MCP Inspector fixes an SSRF vulnerability in fetchGuard.ts (GHSA-fvg8-f358-w2c8, severity HIGH, part of the Anthropic Bug Bounty program). This module is used to block OAuth requests from accessing cloud instance metadata endpoints, but the isBlockedAddress blacklist only hardcodes 169.254.0.0/16, its corresponding IPv4-mapped form, fe80::/10, and fd00:ec2::254, and does not cover other metadata addresses such as Alibaba Cloud's 100.100.100.200; when the server-controlled OAuth URL is an IP literal, isBlockedAddress returns false, and the guarded request goes directly to the metadata service. The advisory recommends extending the blacklist to cover known cloud metadata endpoints and their IPv4-mapped forms, and adding unit tests.

  2. MCP InspectorSelected
    MCP Inspector 2.14.0 import preview does not show environment values; importing an untrusted server.json and starting it can lead to code execution

    The import preview in MCP Inspector 2.14.0 shows only environment variable names, not values, and a malicious server.json can exploit this to execute code; it was fixed in 2.15.0. The advisory (GHSA-pp85-586h-2m95) states that when the web client imports server.json, the default/value of environmentVariables is copied verbatim into the saved configuration, and environment variables such as NODE_OPTIONS and npm_config_registry can change what an apparently unchanged command actually executes, for example running attacker code before npx pulls any package, or pulling packages from an attacker-controlled registry, ultimately executing code as the user on the machine running the Inspector backend. The advisory also notes that the isSecret flag is not used by the import panel, and secret default values in a shared server.json are displayed in plaintext.

  3. MCP InspectorSelected
    A malicious MCP server can interrupt MCP Inspector sessions; fixed in 2.15.0

    MCP Inspector published security advisory GHSA-9w48-x22j-rrm7: a malicious or compromised MCP server can cause the Inspector web backend to run out of memory and crash, disconnecting all sessions on it; versions 2.0.0 through 2.14.0 are affected, and it is fixed in 2.15.0. The attacker is the upstream server itself, and no Inspector credentials are needed: it returns a text/event-stream POST response to a JSON-RPC request, sends no final reply and keeps the stream open; the backend fetch tracking only treats GET event streams as long-lived connections, so POST responses are cloned and read with no byte limit, and the buffer grows without bound until the Node process exits due to heap memory exhaustion. In the same subsystem, /api/fetch has a read limit of 4 MiB and 401/403 response bodies are limited to 64 KiB, but this path alone has no limit.

Date not provided
  1. Date not given
    MCP InspectorSelected
    MCP Inspector 2.15.0 fixes four security vulnerabilities

    MCP Inspector 2.15.0 fixes four security vulnerabilities, of which the fetch guard and event-stream issues affect all v2 versions from 2.0.0 to 2.14.0, the mcpdo daemon issue affects 2.10.0 to 2.14.0, and the server.json preview issue affects 2.14.0. The fetch guard now blocks cloud metadata addresses outside 169.254.0.0/16, including 100.100.100.200 and 192.0.0.192 and their decimal and IPv4-mapped IPv6 forms, so that the /api/fetch proxy and OAuth discovery cannot point to these addresses. The network tracker now caps the response body it records for POST event-stream responses, preventing a server's unbounded streaming response from exhausting the web backend's memory and taking down all sessions.

Related discussion

Total 1 items