Source · release
MCP reference servers v2.6.0: eight security fixes in git, fetch, and memory
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-git2026.11.27 andmcp-server-fetch2026.11.27 (PyPI),@modelcontextprotocol/server-memory2.2.2 and@modelcontextprotocol/server-filesystem2.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/configwith the server's privileges, so opening an untrusted repo was enough. - Moderate (git): a
.gitfile pointer could redirect the--repositoryroot (GHSA-3whj-m8jj-x97q);git_showcould read outside the root through a rewritten alternates file (GHSA-5pwg-5xfw-x322);git_remotecould reveal credentials (GHSA-wvv2-676g-r57j);repo_pathexpanded$NAMEvariables and leaked their values in errors (GHSA-f33v-89w7-f9vc). - Low (git, GHSA-qf89-h82f-h5r5):
git_mergecould 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
saveGraphcould 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).