CVE-2026-111767
MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
Description
Summary
In 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.
Experimental tasks are deprecated. The 2026-07-28 specification replaced them with a redesigned extension. The best course of action is to stop using them.
Am I affected?
Only if your HTTP server passes taskStore to McpServer or Server. If grep -ri taskstore --exclude-dir=node_modules . finds nothing, you are not affected.
Affected versions: @modelcontextprotocol/sdk 1.24.0 through 1.31.0. The 2.x packages are not affected.
Fix
Upgrade 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.
If you cannot upgrade yet, remove taskStore, or create one InMemoryTaskStore per session.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm.at.modelcontextprotocol » sdkvia npm @modelcontextprotocol/sdk | >= 1.24.0, < 1.32.0 | 1.32.0 |
| org.webjars.npm » modelcontextprotocol__sdkvia npm @modelcontextprotocol/sdk | >= 1.24.0, < 1.32.0 | 1.32.0 |
Blast radius
50% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 42 |
Most used dependents
- org.webjars.npm » angular__cli1 usages
- org.mvnpm.at.angular » cli0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Package | modelcontextprotocol/typescript-sdk | github.com |
| Web | modelcontextprotocol/typescript-sdk advisory GHSA-22jm-h49p-29qw | github.com |
| Web | modelcontextprotocol/typescript-sdk pull request #2925 | github.com |
| Web | modelcontextprotocol/typescript-sdk commit 727075b | github.com |
