Skip to content
HighVulnerability

GHSA-22jm-h49p-29qw: MCP TypeScript SDK: Experimental tasks were not tied to the session that created them

Published
Record updated
View JSON
Affected
  • @modelcontextprotocol/sdk >= 1.24.0, < 1.32.0
Fixed in
1.32.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Affected versions of the MCP TypeScript SDK (@modelcontextprotocol/sdk 1.24.0 through 1.31.0) did not check which session created an experimental task. Clients sharing one InMemoryTaskStore could list, read and cancel each other's tasks. Only servers that pass taskStore to McpServer or Server are affected.

Mitigation

Upgrade to @modelcontextprotocol/sdk 1.32.0 or later. If you cannot upgrade yet, remove taskStore, or create one InMemoryTaskStore per session.