npmWorst: High9 advisories

@modelcontextprotocol/sdk: known vulnerabilities

@modelcontextprotocol/sdk has 9 reviewed security advisories in the GitHub Advisory Database — 7 high, 2 moderate. The most recent was published 2026-10-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @modelcontextprotocol/sdk versions running across your servers, containers and images, and ranks what to patch first.

How to fix @modelcontextprotocol/sdk

Upgrade @modelcontextprotocol/sdk to a release at or above the fixed version shown for each advisory below. For npm:

npm install @modelcontextprotocol/sdk@1.30.1 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (9)

MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length High 7.5 CWE-770 — Affected: from 1.10.0 up to 1.30.1. Fixed in 1.30.1. Published 2026-10-27. GHSA-f897-62hf-6gxq
MCP TypeScript SDK: Experimental tasks were not tied to the session that created them High 8.6 CWE-639 CWE-862 — Affected: from 1.24.0 up to 1.32.0. Fixed in 1.32.0. Published 2026-10-20. GHSA-22jm-h49p-29qw · CVE-2026-111767
MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation High 7.5 CWE-770 — Affected: from 1.3.0 up to 1.32.0. Fixed in 1.32.0. Published 2026-10-20. GHSA-46jr-4wx8-v453 · CVE-2026-111768
MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies Moderate 6.5 CWE-200 — Affected: before 1.32.0. Fixed in 1.32.0. Published 2026-10-20. GHSA-6prh-2h8m-c8cw · CVE-2026-111769
MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service Moderate 6.8 CWE-863 — Affected: from 1.6.0 up to 1.32.0. Fixed in 1.32.0. Published 2026-10-20. GHSA-rvq5-wwqv-78pq · CVE-2026-111771
MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server High 7.5 CWE-345 CWE-522 — Affected: from 1.12.0 up to 1.31.0. Fixed in 1.31.0. Published 2026-10-06. GHSA-6qxp-vccf-f47h · CVE-2026-104850
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse High 7.1 CWE-362 — Affected: from 1.10.0 up to 1.26.0. Fixed in 1.26.0. Published 2026-02-04. GHSA-345p-7cg4-v4c7 · CVE-2026-25536
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability High CWE-1333 — Affected: from 1.3.0 up to 1.25.2. Fixed in 1.25.2. Published 2026-01-05. GHSA-8r9q-7v3j-jr4g · CVE-2026-0621
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default High CWE-1188 CWE-350 — Affected: before 1.24.0. Fixed in 1.24.0. Published 2025-12-02. GHSA-w48q-cv73-mx4w · CVE-2025-66414

Find @modelcontextprotocol/sdk across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.