p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости @modelcontextprotocol/sdk

За последние 30 дней в @modelcontextprotocol/sdk опубликовано уязвимостей: 5; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 8

  1. CVE-2026-111768

    Высокий · CVSS 7.5Есть исправление

    MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation

    ### Summary In affected versions, servers put no limit on how many array elements and object keys they validated in one request. One HTTP request within the default 4 MiB size limit could exhaust the server's memory, and the process aborted with `JavaScript heap out of memory`. No credentials are needed, unless you authenticate requests before they reach the SDK. ### Am I affected? Yes, if clients you do not fully trust can reach your server over HTTP. The risk is highest for `McpServer` tools whose input contains an array or a record. stdio-only servers are not affected. Affected versions: - `@modelcontextprotocol/sdk` 1.3.0 through 1.31

    • Обновитесь до 1.32.0
    Опубликовано Обновлено
  2. CVE-2026-111771

    Средний · CVSS 6.8Есть исправление

    MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service

    ### Summary In affected versions, the SDK's server-side bearer authentication had no way to check that a token was issued for your server (its audience). Where one authorization server issues tokens for several services, a valid token for another service was also accepted by your MCP server. ### Am I affected? Yes, if your HTTP server uses `requireBearerAuth()` or `verifyBearerToken()`, its authorization server also issues tokens for other services, and your `verifyAccessToken()` does not check the token's audience (`aud`) itself. Affected versions: - `@modelcontextprotocol/sdk` 1.6.0 through 1.31.0 - `@modelcontextprotocol/server` 2.0.0 t

    • Обновитесь до 1.32.0
    Опубликовано Обновлено
  3. CVE-2026-111767

    Высокий · CVSS 8.6EPSS 0,34%Есть исправление

    MCP TypeScript SDK: Experimental tasks were not tied to the session that created them

    MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. From version 1.24.0 to before version 1.32.0, 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. This issue has been patched in version 1.32.0.

    • Обновитесь до 1.32.0
    Опубликовано Обновлено
  4. CVE-2026-111769

    Средний · CVSS 6.5Есть исправление

    MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies

    ### Summary In affected versions, the SDK's HTTP client transports and OAuth requests followed redirects to any origin. If an MCP server or authorization server redirected a request to another origin, that origin received custom request headers (such as an `X-API-Key` set in `requestInit.headers`) and the `mcp-session-id` header. On a `307` or `308` it also received the request body, including OAuth token requests with their `refresh_token` and `client_secret`. On current runtimes `fetch` already drops the `Authorization` header across origins. ### Am I affected? Yes, if your application uses `StreamableHTTPClientTransport`, `SSEClientTran

    • Обновитесь до 1.32.0
    Опубликовано Обновлено
  5. CVE-2026-104850

    Высокий · CVSS 7.5EPSS 0,23%Есть исправление

    MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

    MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Starting in version 1.12.0 and prior to versions 1.31.0 and 2.2.0, the SDK's OAuth client support let the MCP server a client connected to decide which authorization server received the client's OAuth credentials. Stored and pre-provisioned credentials were not bound to the authorization server they belong to. A malicious or compromised MCP server could name its own authorization server in its protected resource metadata. Without any user interaction, the client would send that server the `refresh_token` and `client_secret` stored from an earlier

    • Обновитесь до 1.31.0
    Опубликовано Обновлено
  6. CVE-2026-25536

    Высокий · CVSS 7.1EPSS 0,3%Есть исправление

    @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

    MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. From version 1.10.0 to 1.25.3, cross-client response data leak when a single McpServer/Server and transport instance is reused across multiple client connections, most commonly in stateless StreamableHTTPServerTransport deployments. This issue has been patched in version 1.26.0.

    • Обновитесь до 1.26.0
  7. CVE-2026-0621

    Высокий · CVSS 8.7EPSS 0,44%Есть исправление

    MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS

    Anthropic's MCP TypeScript SDK versions up to and including 1.25.1 contain a regular expression denial of service (ReDoS) vulnerability in the UriTemplate class when processing RFC 6570 exploded array patterns. The dynamically generated regular expression used during URI matching contains nested quantifiers that can trigger catastrophic backtracking on specially crafted inputs, resulting in excessive CPU consumption. An attacker can exploit this by supplying a malicious URI that causes the Node.js process to become unresponsive, leading to a denial of service.

    • Обновитесь до 1.25.2
    Опубликовано Обновлено
  8. CVE-2025-66414

    Высокий · CVSS 7.6EPSS 0,51%Есть исправление

    DNS Rebinding Protection Disabled by Default in Model Context Protocol TypeScript SDK for Servers Running on Localhost

    MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Prior to 1.24.0, The Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPServerTransport or SSEServerTransport and has not enabled enableDnsRebindingProtection, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on beha

    • Обновитесь до 1.24.0
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →