Source · release

MCP reference servers v2.6.0: eight security fixes in git, fetch, and memory

Author
Model Context Protocol
Published
27 November 2026
Added
30 November 2026
Original
https://github.com/modelcontextprotocol/servers/releases/tag/v2.6.0

Summary

Release v2.6.0 of the official MCP reference servers (2026-11-27) fixes eight vulnerabilities in three servers: six in mcp-server-git, one in mcp-server-fetch, and one in @modelcontextprotocol/server-memory. It also completes two fixes from v2.5.0 (git, and the filesystem server on Windows). Anyone running these servers should update.

Key points

  • Update to: mcp-server-git 2026.11.27 and mcp-server-fetch 2026.11.27 (PyPI), @modelcontextprotocol/server-memory 2.2.2 and @modelcontextprotocol/server-filesystem 2.4.1 (npm). The release notes say to pin npm versions explicitly, because npm ranks the new 2.x versions below the old date-based ones.
  • High (git, GHSA-6663-fm5v-gqm5): a Git LFS filter could run programs named in a repository's .git/config with the server's privileges, so opening an untrusted repo was enough.
  • Moderate (git): a .git file pointer could redirect the --repository root (GHSA-3whj-m8jj-x97q); git_show could read outside the root through a rewritten alternates file (GHSA-5pwg-5xfw-x322); git_remote could reveal credentials (GHSA-wvv2-676g-r57j); repo_path expanded $NAME variables and leaked their values in errors (GHSA-f33v-89w7-f9vc).
  • Low (git, GHSA-qf89-h82f-h5r5): git_merge could overwrite ignored local files such as .env.
  • Fetch (Low, GHSA-g7v6-hfx3-8rv6): robots.txt matching missed backslash and path-parameter spellings (an incomplete earlier fix).
  • Memory (Moderate, GHSA-48j5-hj63-c82c): a symlink swap on the temporary file in saveGraph could change the mode of a file outside the memory path.

Why it matters

The reference servers are copied widely as templates. Most of these bugs come from treating repository contents as trusted, which an agent working on cloned code must not do. This is the second batch of git-server fixes in a month (see the 2026-11-12 note).