Packages

MCP Reference Servers v2.5.0 & SDK v2: Security Patches, Date-Version Trap, and Migration

Across v2.4.0 (Nov 11, 2026) and v2.5.0 (Nov 18, 2026), the official Model Context Protocol reference servers patched 14 vulnerabilities across mcp-server-git, @modelcontextprotocol/server-filesystem, mcp-server-fetch, and @modelcontextprotocol/server-everything. Alongside MCP Python SDK v2.3.0 and TypeScript SDK v2.4.0, teams face an npm semver trap where 2026.8.31 outranks 2.4.0, plus major stateless 2026-07-28 protocol migration rules.

By 0xScorPionSon

8 min read

MCP Reference Servers v2.5.0 & SDK v2: Security Patches, Date-Version Trap, and Migration

MCP SDK v2 and reference server security patches showing Filesystem 2.4.0, Git and Fetch 2026.11, stateless 2026-07-28, and OAuth origin gates

Executive Summary

  • Featured packages & verified versions (as of November 23, 2026): Across the Model Context Protocol (MCP) ecosystem on npm and PyPI, the official reference servers reached v2.5.0 (November 18, 2026), shipping @modelcontextprotocol/server-filesystem@2.4.0, @modelcontextprotocol/server-everything@2.3.1, mcp-server-git==2026.11.18, and mcp-server-fetch==2026.11.18, built atop MCP Python SDK v2.3.0 (October 2, 2026) and MCP TypeScript SDK v2.4.0 (October 23, 2026).
  • 14 security vulnerabilities patched in November 2026: Reference servers v2.4.0 (November 11, 2026) fixed 6 advisories and v2.5.0 (November 18, 2026) fixed 8 more—eliminating arbitrary command execution via untrusted .git/config or submodules, symlink directory-swap races, and NAT64/IPv6 SSRF bypasses (GitHub Releases, MCP Security Update).
  • Critical npm date-version upgrade trap: Because TypeScript reference servers switched from calendar-date versions (2025.1.14–2026.8.31) to semantic versions (1.0.0+), npm ranks 2026.8.31 above 2.4.0, so generic npm update commands silently leave vulnerable 2026.x builds installed unless you pin @2.4.0 explicitly (GitHub Releases).
  • Stateless 2026-07-28 SDK split: TypeScript SDK v2 replaces @modelcontextprotocol/sdk with @modelcontextprotocol/server and @modelcontextprotocol/client (so Dependabot/Renovate will not flag v1->v2 automatically), while Python mcp v2 renames FastMCP to MCPServer and introduces a unified Client (TypeScript Migration Guide, Python Migration Guide).

Adoption Telemetry & Version Changelog

Release Timeline and Runtime Floors

The Model Context Protocol ecosystem underwent a coordinated architectural shift in the second half of 2026 to support the stateless 2026-07-28 protocol specification alongside 2025-11-25 backward compatibility:

  • July 28, 2026 — mcp v2.0.0 (Python) & 2026-07-28 Spec: Introduced stateless request/response execution (eliminating mandatory initialize and Mcp-Session-Id headers on modern connections), server/discover, subscriptions/listen, and OpenTelemetry tracing by default (MCP Python SDK Releases).
  • September 7 & October 2, 2026 — mcp v2.2.0 & v2.3.0 (PyPI): Added origin-restricted HTTP redirects, 30-minute idle session expiry (with a 10,000-session cap) for legacy stateful HTTP servers, httpx2>=2.10.0 requirement, max_sse_event_size (1 MiB default), and HeaderMismatch (-32020) auto-retry (MCP Python SDK Releases).
  • October 23, 2026 — @modelcontextprotocol/server@2.4.0 & client@2.4.0 (npm): Added Skills over MCP (SEP-2640 via ext/skills), opt-in scopeForRefresh for Microsoft Entra ID (AADSTS90009), and fast-uri 3.1.8 strict JSON Schema URI validation (MCP TypeScript SDK Releases).
  • November 11 & November 18, 2026 — Reference Servers v2.4.0 & v2.5.0: Hardened local and HTTP reference servers across 14 GHSA advisories, raised mcp-server-fetch's Python floor to 3.11.5 (to drop soupsieve 2.10), and required Git 2.33+ for repositories with checked-out submodules (MCP Servers Releases).

For Node.js deployments, the maintainers explicitly warn that TypeScript MCP servers rely on the host Node.js CA bundle: operators must run Node.js 24.22.1+ or 26.12.1+ (following the October 2026 eMudhra intermediate CA compromise and TLS/DNS CVE fixes), while Python mcp-server-fetch requires certifi >= 2026.10.23 (MCP Servers Releases).


Security Patches, Breaking Changes & Internals

All 14 Vulnerabilities Fixed Across v2.4.0 and v2.5.0

Security patches in v2.4.0 (November 11, 2026) and v2.5.0 (November 18, 2026) target real-world agentic attack surfaces—particularly untrusted repositories, symlink races, and SSRF via non-standard IPv6 encodings (MCP Servers Releases, MCP Security Update):

Package Advisory ID Release Fixed In Root Cause & Remediation
mcp-server-git GHSA-6hqx-gqrx-c5r2 v2.4.0 2026.11.11 .git/config (core.fsmonitor, diff.external, hooks) ran commands during read-only calls; now overridden (requires Git >=2.31)
mcp-server-git GHSA-q74p-4wrc-q7w6 v2.4.0 2026.11.11 --repository confinement bypassed via objects/info/alternates, linked worktrees, and Git symlinks
mcp-server-git GHSA-h2g3-rwxm-xfm3 v2.5.0 2026.11.18 git_merge triggered git maintenance run --auto / gc.recentObjectsHook; maintenance.auto=false and gc.auto=0 enforced
mcp-server-git GHSA-87qg-cmw8-jc5m v2.5.0 2026.11.18 Promisor remote lazy-fetching invoked remote.<name>.uploadpack / core.sshCommand; GIT_NO_LAZY_FETCH=1 enforced
mcp-server-git GHSA-9vjp-x34c-xg6v v2.5.0 2026.11.18 Filter/merge drivers written during git_checkout/git_merge could execute on git merge --abort; drivers re-read after writes
mcp-server-git GHSA-pm7p-vphh-2cg7 v2.5.0 2026.11.18 Empty-named [filter ""] drivers in .gitattributes escaped clearing; now cleared
mcp-server-git GHSA-r2q8-f657-4r56 v2.5.0 2026.11.18 Crafted .git/index entries (../outside/secret) leaked file contents in git_diff / git_status; index validated upfront
mcp-server-git GHSA-8wv7-r664-7594 v2.5.0 2026.11.18 diff.submodule=diff ran submodule-local drivers; forced diff.submodule=short (requires Git >=2.33 for submodules)
@modelcontextprotocol/server-filesystem GHSA-p9cv-8g75-4xcg v2.4.0 2.3.0 Symlink race between path check and read on Linux/macOS; reads now anchor to checked directory and block FIFOs/devices
@modelcontextprotocol/server-filesystem GHSA-7m4x-rv66-mxhh v2.4.0 2.3.0 move_file source directory symlink swap; source now moved out of checked directory first
@modelcontextprotocol/server-filesystem GHSA-rq2p-q7c4-6g27 v2.5.0 2.4.0 Symlink race in list_directory, directory_tree, and search_files; directory listings anchored in place (Linux/macOS)
mcp-server-fetch GHSA-3rxj-6jhw-qfv7 v2.4.0 2026.11.11 IPv6 site-local fec0::/10 and non-global-unicast addresses treated as public; now blocked
mcp-server-fetch GHSA-f9hh-cmx9-2f23 v2.4.0 2026.11.11 //private or /x/../private bypassed robots.txt Disallow: /private; path normalization aligned
@modelcontextprotocol/server-everything GHSA-38j4-j742-j7r3 v2.5.0 2.3.1 gzip-file-as-resource treated NAT64 64:ff9b::/96 addresses as public instead of checking embedded IPv4

Residual Platform Caveats: Per the MCP Security Update and v2.5.0 release notes, directory-listing anchoring (GHSA-rq2p-q7c4-6g27) and directory-junction checks in mcp-server-git (#5520) remain incomplete on Windows. Teams running untrusted repositories on Windows should isolate servers inside containers or non-privileged accounts.

Breaking Changes in Python SDK v2.3.0 and TypeScript SDK v2.4.0

Beyond server patches, upgrading application code to MCP SDK v2 introduces breaking API and schema rules:

flowchart LR
    A["v1 Client / Server (@modelcontextprotocol/sdk or mcp<2)"] --> B["Run Codemod / Update Imports"]
    B --> C{"Protocol Era"}
    C -->|2025-11-25 Legacy| D["Stateful HTTP (30m idle expiry, 10k cap)"]
    C -->|2026-07-28 Modern| E["Stateless Per-Request (server/discover, no initialize)"]
    E --> F["Enforce Origin Redirects, Issuer Validation & Schema Checks"]
  • Python mcp v2.3.0 (#3620, #3628, #3630): Tools with invalid x-mcp-header annotations (such as str | None or float instead of plain str, int, or bool) now raise InvalidSignature at registration rather than failing silently. Outbound 2025-11-25 requests omit empty _meta: {} and params, so middleware sees ctx.params as None.
  • TypeScript v2.4.0 (#2762, #3081, #3083): Bundled Ajv upgrades to fast-uri 3.1.8, rejecting $id or $ref strings containing invalid URI schemes (e.g., my_tool:output). Meanwhile, x-mcp-header on number-typed parameters is rejected with JSON-RPC -32020 (use z.int() instead).
// TypeScript SDK v2: Stateless 2026-07-28 + 2025-era compatibility via factory
import { McpServer, createMcpHandler } from "@modelcontextprotocol/server";
import { z } from "zod";

function buildServer() {
  const server = new McpServer({ name: "audit-tools", version: "2.4.0" });
  server.registerTool(
    "check_status",
    {
      description: "Verify service health with integer header parameter",
      inputSchema: {
        regionCode: z.int().describe("Numeric region identifier"),
      },
    },
    async ({ regionCode }) => ({
      content: [{ type: "text", text: `Region ${regionCode}: healthy` }],
    })
  );
  return server;
}

// Serves 2026-07-28 per-request and 2025-era stateless clients by default
export const handler = createMcpHandler(buildServer);

Ecosystem Comparison & Upgrade Checklist

MCP v1.x vs. v2.x SDK Architecture

Dimension Legacy v1.x (@modelcontextprotocol/sdk / mcp<2) Modern v2.x (@modelcontextprotocol/server@2.4.0 / mcp==2.3.0)
Supported Spec Up to 2025-11-25 only 2026-07-28 (stateless) + 2025-11-25 fallback
Package Layout (TS) Monolithic @modelcontextprotocol/sdk Split: server, client, core, node, codemod
Schema Validation (TS) Zod-only Standard Schema (Zod 4.2+, Valibot, ArkType)
HTTP Session Model Stateful (initialize + Mcp-Session-Id) Stateless per-request (server/discover), no session affinity
Maintenance Status Maintenance mode (security/critical fixes only) Active development (Skills SEP-2640, OTel, Resolve)

Safe Pinning & Upgrade Commands (Defeating the Date-Version Trap)

Because npm sorts 2026.8.31 higher than 2.4.0, never rely on npm update or ^ ranges when upgrading @modelcontextprotocol/server-filesystem or server-everything (MCP Servers Releases, MCP Security Update):

  1. Pin TypeScript reference servers explicitly:
    npm install @modelcontextprotocol/server-filesystem@2.4.0 @modelcontextprotocol/server-everything@2.3.1
    npm ls @modelcontextprotocol/server-filesystem
    
    For npx host configs, update "args" to ["-y", "@modelcontextprotocol/server-filesystem@2.4.0", "/path/to/allowed-dir"].
  2. Upgrade Python reference servers in the exact launcher environment:
    python -m pip install --upgrade "mcp-server-git==2026.11.18" "mcp-server-fetch==2026.11.18"
    # Or for uvx / uv tool:
    uv tool install --force "mcp-server-git==2026.11.18"
    uv tool install --force "mcp-server-fetch==2026.11.18"
    
  3. Migrate TS SDK v1 projects on a clean branch: Run npx @modelcontextprotocol/codemod@2.4.0 v1-to-v2 from the repository root, search for // @mcp-codemod-error markers, and verify node -v reports >=24.22.1 or >=26.12.1.

Frequently Asked Questions

1. Why didn't npm update upgrade my @modelcontextprotocol/server-filesystem package from 2026.8.31?

The TypeScript reference servers switched from calendar-date versioning (2025.x, 2026.x) to semantic versioning (1.0.0+) in October 2026. Because npm ranks 2026.8.31 numerically above 2.4.0, you must install @modelcontextprotocol/server-filesystem@2.4.0 explicitly (MCP Servers Releases).

2. Will Dependabot or Renovate notify me about MCP TypeScript SDK v2?

Not automatically. Because v2 ships under new package names (@modelcontextprotocol/server and @modelcontextprotocol/client) rather than a 2.0.0 bump on @modelcontextprotocol/sdk, dependency scanners watching the old package name will report v1 as up to date (MCP TypeScript Migration Guide).

3. Was disabling write tools in mcp-server-git enough to block GHSA-6hqx-gqrx-c5r2?

No. Even read-only operations such as git_status on an untrusted repository could execute commands defined in .git/config (core.fsmonitor, diff.external, or hooks) before 2026.11.11 (MCP Security Update). Upgrade to 2026.11.18 and ensure Git 2.33+ is installed.

4. Does installing Python mcp v2.3.0 break existing 2025-11-25 MCP clients?

No. Both Python mcp v2.3.0 and TypeScript @modelcontextprotocol/server@2.4.0 serve 2026-07-28 and 2025-11-25 clients from the same server entrypoint, though v2.2.0+ enforces a 30-minute idle timeout and 10,000-session cap on legacy stateful HTTP connections (MCP Python SDK Releases).

5. What Python and Node.js runtime versions are required for the November 2026 updates?

mcp-server-fetch 2026.11.18 raises its Python floor to 3.11.5+ and requires certifi >= 2026.10.23, while TypeScript servers should run on Node.js 24.22.1+ or 26.12.1+ to include October 2026 CA and TLS security patches (MCP Servers Releases).


Sources

  1. Model Context Protocol — Reference Servers Releases (v2.4.0 Nov 11, 2026 & v2.5.0 Nov 18, 2026): https://github.com/modelcontextprotocol/servers/releases
  2. Model Context Protocol — Python SDK Releases (v2.0.0–v2.3.0, Oct 2, 2026): https://github.com/modelcontextprotocol/python-sdk/releases
  3. Model Context Protocol — TypeScript SDK Releases (v2.4.0, Oct 23, 2026): https://github.com/modelcontextprotocol/typescript-sdk/releases
  4. ModelContextProtocol.info — MCP Reference Server Security Update: Versions and Upgrade Steps (November 17, 2026): https://modelcontextprotocol.info/blog/reference-servers-security-update-2026-11/
  5. Model Context Protocol Docs — TypeScript SDK v1.x to v2 Migration Guide: https://ts.sdk.modelcontextprotocol.io/v2/migration/upgrade-to-v2
  6. Model Context Protocol Docs — Python SDK v1 to v2 Migration Guide: https://py.sdk.modelcontextprotocol.io/migration/

More on Packages

Packages

FastMCP 4.2.5 and 4.2.4: Subscriptions, OTel UsageMiddleware, and OAuthProxy Security Fixes

FastMCP 4.2.5 ("Smoke Signals", released November 23, 2026) introduces subscriptions/listen support on 2026-07-28 MCP connections, opt-in UsageMiddleware for OpenTelemetry mcp.server.operation.duration histograms, and an experimental SEP-3415 Events extension. Coming three days after v4.2.4 ("Burn After Reading"), which patched an OAuthProxy concurrency race (GHSA-78c8-3jhx-5mg7) and revoked-token validation bypass, the 4.2.x line also requires Python 3.11+ and stabilizes server-side agent skills (SkillCatalogProvider, SEP-2640).

10 min read

Packages

Prisma 8 ORM RC (v8.0.0-rc.34 / rc.24-dev.40) & Prisma 6 EOL: Savepoints, v7 Upgrade Footguns & Benchmarks

Prisma ORM 6 officially reached end of life on November 19, 2026, just as Prisma 8 release candidates shipped nested savepoint transactions (ADR 326) and SQL runtime fixes through November 22, 2026. With npm latest now installing prisma@8.0.0-rc.34 alongside @prisma/client@7.10.1, teams and coding agents face a breaking CLI mismatch unless they pin versions cleanly.

10 min read

Packages

Muru 0.1.0a34 & muructl: Graham Dumpleton's Rust-Backed Python WSGI/ASGI Server With MCP Deployment Tools

Graham Dumpleton, creator of mod_wsgi, released Muru 0.1.0a34 (muru and muructl on PyPI), an Apache-2.0 Rust HTTP edge, control plane, and Python worker runtime for WSGI and ASGI apps. Highlighted by Simon Willison on November 21, 2026, Muru replaces restart-based reloads with immutable side-by-side releases, weighted canaries, and muructl mcp serve tools for coding agents.

10 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla