PT-2026-120290 · Npm · @Modelcontextprotocol/Sdk
Publicado
2026-10-20
·
Atualizado
2026-10-20
CVSS v3.1
8.6
Alta
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
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.Correção
IDOR
Missing Authorization
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
@Modelcontextprotocol/Sdk