{"id":"GHSA-22jm-h49p-29qw","revision":"a4bf541cc65b4c43b123a15d75490396","records":[{"revision":"a4bf541cc65b4c43b123a15d75490396","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-22jm-h49p-29qw","aliases":["CVE-2026-111767"],"title":"MCP TypeScript SDK: Experimental tasks were not tied to the session that created them","description":"### 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.","state":0,"publishedAt":"2026-10-20T18:26:54+00:00","modifiedAt":"2026-10-20T18:45:09.4868493+00:00","affected":[{"ecosystem":"npm","name":"@modelcontextprotocol/sdk","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.24.0"},{"kind":"fixed","version":"1.32.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-22jm-h49p-29qw","https://github.com/modelcontextprotocol/typescript-sdk/pull/2925","https://github.com/modelcontextprotocol/typescript-sdk/commit/727075b5bbeb77fbea22041b36b72a73042160fa","https://github.com/modelcontextprotocol/typescript-sdk"],"sourceUrl":"https://github.com/advisories/GHSA-22jm-h49p-29qw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-22jm-h49p-29qw","identifiers":["GHSA-22jm-h49p-29qw","CVE-2026-111767"]},"retained":false,"historicalAffected":[]}],"coverage":[]}