MCP TypeScript SDK fixes vulnerability where experimental tasks were not bound to the creating session; versions before 1.32.0 affected
MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
MCP TypeScript SDK fixed the issue where the experimental tasks feature did not verify which session created a task. Affected versions are @modelcontextprotocol/sdk 1.24.0 up to before 1.32.0, fixed in 1.32.0 (CVE-2026-111767). Clients sharing the same InMemoryTaskStore can list, read, and cancel each other's tasks. Only HTTP servers that pass taskStore to McpServer or Server are affected; the advisory recommends using grep to check whether taskStore appears in the code. Experimental tasks have been deprecated; the 2026-07-28 specification replaces them with a redesigned extension, and it is recommended to stop using them; if upgrading immediately is not possible, taskStore can be removed, or a separate InMemoryTaskStore can be created for each session.
The advisory gives the affected version range and a grep self-check command, which teams deploying HTTP services with the MCP TypeScript SDK can use to determine whether they need to upgrade or switch to session-level task storage.