{"id":"GHSA-22jm-h49p-29qw","summary":"MCP TypeScript SDK: Experimental tasks were not tied to the session that created them","details":"### Summary\nIn affected versions, the experimental tasks feature (`taskStore`) did not check which session created a task. Clients sharing one `InMemoryTaskStore` could list, read and cancel each other's tasks.\n\nExperimental tasks are deprecated. The 2026-07-28 specification replaced them with a redesigned extension. The best course of action is to stop using them.\n\n### Am I affected?\nOnly if your HTTP server passes `taskStore` to `McpServer` or `Server`. If `grep -ri taskstore --exclude-dir=node_modules .` finds nothing, you are not affected.\n\nAffected versions: `@modelcontextprotocol/sdk` 1.24.0 through 1.31.0. The 2.x packages are not affected.\n\n### Fix\nUpgrade to `@modelcontextprotocol/sdk` 1.32.0 or later. Each task is now tied to the session that created it, so a client that starts a new session can no longer reach its earlier tasks.\n\nIf you cannot upgrade yet, remove `taskStore`, or create one `InMemoryTaskStore` per session.","aliases":["CVE-2026-111767"],"modified":"2026-10-20T18:45:09.486849334Z","published":"2026-10-20T18:26:54Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-639","CWE-862"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-10-20T18:26:54Z"},"references":[{"type":"WEB","url":"https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-22jm-h49p-29qw"},{"type":"WEB","url":"https://github.com/modelcontextprotocol/typescript-sdk/pull/2925"},{"type":"WEB","url":"https://github.com/modelcontextprotocol/typescript-sdk/commit/727075b5bbeb77fbea22041b36b72a73042160fa"},{"type":"PACKAGE","url":"https://github.com/modelcontextprotocol/typescript-sdk"}],"affected":[{"package":{"name":"@modelcontextprotocol/sdk","ecosystem":"npm","purl":"pkg:npm/%40modelcontextprotocol/sdk"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.24.0"},{"fixed":"1.32.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-22jm-h49p-29qw/GHSA-22jm-h49p-29qw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"}]}