# @modelcontextprotocol/sdk (npm)

Model Context Protocol implementation for TypeScript

- Latest: 1.32.2 (2026-10-23)
- Licence: MIT
- Downloads: 390828885 last month
- Advisories on the latest version: 0

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

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