Model Context Protocol SDK tasks can be read by other clients sharing the store

HighSE Fix-First Score 43/100CVE-2026-111767SE-AIV-01571Missing or broken access controlAI agents and assistantsMade public 20 Oct 2026

Download as PDF

What this means

If your server uses the experimental tasks feature, any client connected to it can see, read and cancel tasks created by other clients. This exposes information from other users' requests and lets attackers disrupt their work.

SecurityElites Manager Brief: the decision in one minute

The Model Context Protocol SDK's experimental tasks feature did not isolate work between clients. Any client can see and interfere with other clients' tasks. Upgrade to version 1.32.0 or remove the feature.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixBackend or infrastructure team that maintains the MCP server.
Likely effortAbout 15 minutes: check if taskStore is used, upgrade the SDK package, and restart. Removing taskStore instead of upgrading takes longer if the feature is in active use.

Questions to ask your team or supplier

  • Do we use the experimental tasks feature (taskStore) in production, or can we remove it now that it is deprecated?
  • Have we shared an InMemoryTaskStore across multiple clients, and if so, for how long and what information did tasks contain?

Message you can forward to the owning team

Security notice: Model Context Protocol SDK tasks can be read by other clients sharing the store (CVE-2026-111767)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to @modelcontextprotocol/sdk 1.32.0 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-111767-model-context-protocol-sdk-tasks-can-be-read-by/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01571

What is at stake in your AI setup

  • Task metadata and chat history: other clients' task records and associated prompts or chat history could be read.
  • Keys and credentials: if tasks reference or embed API keys for external AI services, those could be exposed to other clients.
  • Tools and connections: task definitions may list which external tools or systems an agent is connected to, exposing your infrastructure.
  • User inputs and agent state: task records may hold sensitive user queries, model decisions or internal agent state from other clients.

Map where your company uses AI

Who is exposed

  • Servers using @modelcontextprotocol/sdk versions 1.24.0 through 1.31.0 with taskStore enabled
  • Any setup where multiple clients connect to the same InMemoryTaskStore
  • Applications that rely on tasks to track user-specific work or secrets

Upgrades you need

SoftwareAffected versionsMove to
@modelcontextprotocol/sdk
npm
1.24.0 up to, but not including, 1.32.01.32.0 or later

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedNo known attacks and no public attack code when CISA last reviewed it
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededNone. No login is needed
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedLimited
Risk of: the service being taken downLimited
Can attackers automate it at scaleYes, according to CISA
How much control an attacker gainsPartial control, according to CISA

Read from the official severity rating: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Kind of coding mistake

  • CWE-639: another user's data can be reached by changing an identifier
  • CWE-862: a permission check is missing

If you cannot upgrade today

  • Create one InMemoryTaskStore per session instead of sharing a single store across all clients. This requires code changes to your server.
  • Remove taskStore from your McpServer or Server configuration if the experimental tasks feature is not critical to your application.

Signs it may already have been used against you

  • Review MCP server logs from the time taskStore was enabled. Look for task IDs appearing in requests from multiple different client sessions or IP addresses.
  • Check if any client cancelled or modified tasks they did not create (task IDs do not match the client's own session identifiers).
  • Audit application logs for access patterns where one user's requests reference task IDs from a different user's session.

SecurityElites Fix Guide: step by step

  1. Check if taskStore is in useRun the command `grep -ri taskstore --exclude-dir=node_modules .` in your project root. If nothing appears, you are not affected and can stop here. If taskStore is found, note which files use it.
  2. Review the experimental tasks featureOpen the files that reference taskStore. The experimental tasks feature is deprecated as of July 2026. Consider whether you can remove taskStore entirely instead of upgrading, since the feature is being phased out.
  3. Upgrade @modelcontextprotocol/sdk to 1.32.0 or laterUpdate your package.json or use your package manager to install @modelcontextprotocol/sdk version 1.32.0 or any later 1.x version. Reinstall dependencies and rebuild.
  4. Verify the upgraded version is installedRun `npm list @modelcontextprotocol/sdk` and confirm the installed version is 1.32.0 or higher. Check your package-lock.json or yarn.lock file to confirm the change is recorded.
  5. Restart the serverStop and start your MCP server process to load the new code. Each task is now tied to the session that created it, so clients cannot reach each other's tasks.
  6. Look for signs of earlier exposureCheck server logs and any audit trails from the time taskStore was in use. Look for patterns of one client accessing tasks created by a different client, or unusual task cancellations. If you find evidence of misuse, investigate whether sensitive information was exposed.
  7. Plan to migrate away from experimental tasksSince the tasks feature is deprecated, plan to stop using taskStore in a future release. The 2026-07-28 specification defines a redesigned extension; check the official MCP documentation for the new approach.
  8. If you cannot upgrade now, isolate taskStoreIf upgrading is blocked, create one new InMemoryTaskStore per session instead of sharing one. This prevents clients from seeing each other's tasks until you can upgrade.

How to confirm it is fixed: Confirm that @modelcontextprotocol/sdk version 1.32.0 or higher is installed by running `npm list @modelcontextprotocol/sdk`, and restart the server to load the new code.

SecurityElites Quick Fixes: copy and paste

Upgrade @modelcontextprotocol/sdk with npmupgrade

npm install @modelcontextprotocol/sdk@1.32.0
npm ls @modelcontextprotocol/sdk

Check if taskStore is configuredfor this issue

grep -ri taskstore --exclude-dir=node_modules .

Verify installed SDK versionfor this issue

npm list @modelcontextprotocol/sdk

Require sign-in with nginx in front of the servicegeneral hardening

location / {
    auth_basic "Restricted";
    auth_basic_user_file /etc/nginx/.htpasswd;
    proxy_pass http://127.0.0.1:8080;
}

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2026-111767) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - @modelcontextprotocol/sdk (npm): must be 1.32.0 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

How would you confirm that a taskStore is being used in your codebase?A good answer: Run `grep -ri taskstore --exclude-dir=node_modules .` and check whether any results appear in your source code.
What is the minimum version you need to upgrade to in order to fix this issue?A good answer: Upgrade @modelcontextprotocol/sdk to version 1.32.0 or any later 1.x version.
If you cannot upgrade immediately, what can you do to prevent clients from accessing each other's tasks?A good answer: Create one separate InMemoryTaskStore per client session instead of sharing a single store across all clients.
Why is removing taskStore a better long-term solution than just upgrading?A good answer: The experimental tasks feature is deprecated as of July 2026 and is being replaced by a redesigned extension, so continuing to rely on it is not sustainable.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## Model Context Protocol SDK tasks can be read by other clients sharing the store (CVE-2026-111767)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01571 https://securityelites.com/ai-vulnerabilities/cve-2026-111767-model-context-protocol-sdk-tasks-can-be-read-by/

### Why this matters
If your server uses the experimental tasks feature, any client connected to it can see, read and cancel tasks created by other clients. This exposes information from other users' requests and lets attackers disrupt their work.

### What to do
1. Check if taskStore is in use
2. Review the experimental tasks feature
3. Upgrade @modelcontextprotocol/sdk to 1.32.0 or later
4. Verify the upgraded version is installed
5. Restart the server
6. Look for signs of earlier exposure
7. Plan to migrate away from experimental tasks
8. If you cannot upgrade now, isolate taskStore

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-111767-model-context-protocol-sdk-tasks-can-be-read-by/

### Done when
- [ ] @modelcontextprotocol/sdk is at 1.32.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that @modelcontextprotocol/sdk version 1.32.0 or higher is installed by running `npm list @modelcontextprotocol/sdk`, and restart the server to load the new code.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 20 Oct 2026: Made public
  • 1 Dec 2026: Published
  • 2 Dec 2026: Guide updated

Official record

### 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.

Weakness type: CWE-639, CWE-862

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-111767

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.