@modelcontextprotocol/sdk

Model Context Protocol implementation for TypeScript

1.32.2Latest, 23 Oct 2026
391MDownloads, last month
0Advisories on the latest
9Advisories, all versions
MITLicence
14KStars

Known advisories

Severity Advisory Fix Published
High MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length GHSA-f897-62hf-6gxq Fixed in 1.30.1 27 Oct 2026
High MCP TypeScript SDK: Experimental tasks were not tied to the session that created them CVE-2026-111767 Fixed in 1.32.0 20 Oct 2026
High MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation CVE-2026-111768 Fixed in 1.32.0 20 Oct 2026
Moderate MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies CVE-2026-111769 Fixed in 1.32.0 20 Oct 2026
Moderate MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service CVE-2026-111771 Fixed in 1.32.0 20 Oct 2026
High MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server CVE-2026-104850 Fixed in 1.31.0 6 Oct 2026
High @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse CVE-2026-25536 Fixed in 1.26.0 4 Feb 2026
High Anthropic's MCP TypeScript SDK has a ReDoS vulnerability CVE-2026-0621 Fixed in 1.25.2 5 Jan 2026
High Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default CVE-2025-66414 Fixed in 1.24.0 2 Dec 2025

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.