# MCP servers 2.6.0: update the git, fetch and memory servers

> MCP reference servers v2.6.0, released 2026-11-27, fixes eight security flaws in the official git, memory and fetch servers, and narrows a Windows gap in the filesystem server.

- Published: 2026-11-27
- Publisher: Rig Labs (https://riglabs.ai/)
- Canonical: https://riglabs.ai/blog/mcp-servers-2-6-0-security/
- Answers: MCP servers 2.6.0 security update
- Agent file (a short card for your agent): https://riglabs.ai/blog/mcp-servers-2-6-0-security/AGENT.md

---

The MCP reference servers v2.6.0, released by the Model Context Protocol project on November 27, 2026, fix eight security flaws in the official git, memory and fetch servers (six in git, one each in memory and fetch), and narrow a Windows gap in the filesystem server. What you can do today: if your Claude, Codex or Cursor setup uses one of these servers, update it and close holes that let a repository or a tool call reach programs, files or credentials it should not.

## What do the MCP reference servers do?

The MCP reference servers are the small official servers that give an AI agent a tool through the Model Context Protocol (MCP): reading a Git repository, fetching a web page, keeping a memory file, reading local folders. They live in the [modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers) repository.

## What does MCP servers 2.6.0 fix?

The [v2.6.0 release notes](https://github.com/modelcontextprotocol/servers/releases/tag/v2.6.0) list these fixes:

- **mcp-server-git.** With Git LFS installed, a repository's own `.git/config` could name programs that the server then ran, even from the read-only `git_status`. `git_remote` could return a credential through a crafted remote name or URL. `repo_path` could read any environment variable of the server. The `--repository` root could be pointed at another repository, and under `--repository`, `git_show` could return an object from another repository's store. `git_merge` of diverged branches could replace an ignored file such as `.env` and report success. All of these are fixed.
- **server-memory.** A save could change the permissions of a file outside the memory path, through a swapped temporary file. Fixed.
- **mcp-server-fetch.** robots.txt rules are now also matched against backslash and path-parameter spellings, which completes a fix from v2.5.0.
- **server-filesystem, Windows only.** The server now checks a listed directory before and after it reads it, so that it can detect a swap made during the read. The notes say a swap made and undone during the read is still not detected on Windows.

## Which versions are safe?

The release notes give these versions:

| Package | Affected | Update to |
|---|---|---|
| `mcp-server-git` (PyPI) | through 2026.11.18 | 2026.11.27 |
| `@modelcontextprotocol/server-memory` (npm) | 1.0.0 through 2.2.1 | 2.2.2 |
| `mcp-server-fetch` (PyPI) | 2026.10.10 through 2026.11.18 | 2026.11.27 |
| `@modelcontextprotocol/server-filesystem` (npm, Windows) | through 2.4.0 | 2.4.1 |

The npm servers moved from date versions (2025.x, 2026.x) to semantic versions at 1.0.0. Per the release notes, a package manager ranks 2.2.2 and 2.4.1 below every date version, so it will not offer them as an upgrade. If your config names a date version, install the new version by its number.

## Why does this matter if I only read with these servers?

Several of the git fixes are in tools that look harmless. The release notes name `git_status` and `git_diff` among the tools that could run a program named in a repository's config. So an agent that only reads a repository you cloned from someone else was exposed, as long as Git LFS was installed. The official Docker image installs it, per the same notes.

## What to do today

Open your MCP config (`.mcp.json`, `claude_desktop_config.json` or your client's settings) and look for `mcp-server-git`, `mcp-server-fetch`, `server-memory` and `server-filesystem`. Put the fixed version in the launch line itself, so the client starts it. For a server started with npx, the args become:

```json
"args": ["-y", "@modelcontextprotocol/server-memory@2.2.2"]
```

On Windows, do the same with `@modelcontextprotocol/server-filesystem@2.4.1`. For a server started with uvx, the args become `["mcp-server-git@2026.11.27"]` or `["mcp-server-fetch@2026.11.27"]`. Then restart your client.

Last checked 2026-11-27.

Sources:
- [GitHub: modelcontextprotocol/servers v2.6.0 release notes, 2026-11-27](https://github.com/modelcontextprotocol/servers/releases/tag/v2.6.0)
- [GitHub: modelcontextprotocol/servers repository](https://github.com/modelcontextprotocol/servers)
