Skip to content
EventPast event

MCP TypeScript SDK cross-client message leakage vulnerability

1 reports1 reporting sourcesLatest report

Start here

AI overview

A GitHub security advisory disclosed that versions of @modelcontextprotocol/server from 2.0.0 to before 2.3.0, when serving over HTTP, may deliver one client's responses and notifications to another client. The cause is that messages are matched to connections only by JSON-RPC id, while the SDK client numbers requests starting from 0, so ids collide in normal use; this is triggered when multiple clients share a stateless transport, or share an McpServer or Server instance.

Generated by AI from reports · Updated 2026-10-21

Storyline

Developments on the same subject and issue, from earliest to latest

7 events
  1. · 3 reports· Attention44
    MCP TypeScript SDK fixes redirect and OAuth credential flaws
  2. · 1 reports· Attention42
    MCP TypeScript SDK cross-origin redirect leaks request headers and request body
  3. · 1 reports· Attention35
    MCP TypeScript SDK fixes task authorization vulnerability
  4. · 1 reports· Attention41
    MCP TypeScript SDK missing token audience validation
  5. · 2 reports· Attention41
    MCP TypeScript SDK exposed to memory exhaustion vulnerability
  6. · 1 reports· Attention45

    MCP TypeScript SDK cross-client message leakage vulnerabilityThis event

  7. · 3 reports· Attention42
    MCP Python SDK vulnerability: issuer still must be passed after upgrade

Progress timeline

Oct 21
  1. GitHub Security AdvisoriesSelected
    MCP TypeScript server SDK: sharing a transport or server instance delivers one HTTP client's messages to another client

    A GitHub security advisory discloses that versions of @modelcontextprotocol/server from 2.0.0 to before 2.3.0, when serving over HTTP, may deliver one client's responses and notifications to another client. The cause is that messages are matched to connections only by JSON-RPC id, while SDK clients number requests starting from 0, so ids collide in normal use; it is triggered when multiple clients share a stateless transport, or share one McpServer or Server instance. The fixed version is 2.3.0, and code changes are also required: pass a factory to createMcpHandler() that creates a new McpServer per call, create a new server and transport per request inside the request handler, or set sessionIdGenerator to keep one instance per session.