[paths.ts] CWE-863 Authorization Bypass.

MediumGHSA-5572-x678-xmv812 Nov · 18 days ago
Source

Does it affect you?

0/4All must holdTicks stay in this browser
Conditions read by Gemini. The sources remain the reference.Maintainer advisory

Timeline

12 Nov
18 daysahead of the GitHub database so far
  1. Published by the maintainer in modelcontextprotocol/inspector12 Nov, 01:33 UTC
  2. Seen by Patchwire +1 h12 Nov, 03:01 UTC
  3. Not in the GitHub database 18 days later29 Nov, 19:15 UTC
@modelcontextprotocol/inspector2.15.0
2.x
safe 2.15.0
AffectedSafe

Related alerts(8)

Same packages
Low
Conditions could not be extracted

Source 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
Open the alert
Medium
Exploitable only if · read by Gemini, the source remains the reference
  • 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
Open the alert
Medium
Conditions under review

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
Open the alert
Low
Exploitable only if · read by Gemini, the source remains the reference
  • 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
Open the alert
Low
Exploitable only if · read by Gemini, the source remains the reference
  • 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
Open the alert
Medium
Exploitable only if · read by Gemini, the source remains the reference
  • Project uses @modelcontextprotocol/inspector at version v2.12.0.
  • The user imports an attacker-controlled MCP Registry server.json document through the web client's import panel and clicks Import & Save, launching a stdio server (npx, uvx, docker run, or dnx).
  • Alternatively, the web client receives an elicitation request whose URL uses a non-http(s) scheme and the user clicks open in browser, or renders HTML content via wrapHtmlWithCsp containing a crafted comment before the real head tag.
Affected
@modelcontextprotocol/inspector >=2.0.0 <=2.13.0
Fixed in
2.14.0
ID
GHSA-rwv7-mh2c-ff2p
Open the alert
Medium
Exploitable only if · read by Gemini, the source remains the reference
  • 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
Open the alert
Medium
Exploitable only if · read by Gemini, the source remains the reference
  • 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
Open the alert