# MCP servers 2.5.0: eight security fixes, what to upgrade

> MCP reference servers 2.5.0 (2026-11-18) fix eight flaws. Upgrade mcp-server-git to 2026.11.18, server-filesystem to 2.4.0, server-everything to 2.3.1.

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

---

The Model Context Protocol (MCP) reference servers released version 2.5.0 on November 18, 2026, with fixes for eight vulnerabilities in three servers, per [the release notes](https://github.com/modelcontextprotocol/servers/releases/tag/v2.5.0). MCP servers are the plug-ins that let an assistant such as Claude, Cursor or Codex read your files or your Git repositories.

What you can now do: upgrade three packages. That closes holes that could let a booby-trapped repository or folder make your agent's Git or file server run programs or read files it should not.

## Which MCP servers need an upgrade?

The 2.5.0 release names three packages, per the release notes:

| Package | Affected | Fixed in |
|---|---|---|
| mcp-server-git | through 2026.11.11 | 2026.11.18 |
| @modelcontextprotocol/server-filesystem | all versions before 2.4.0, and the older versions numbered by date (2025.x, 2026.x), from 2025.1.14 through 2026.8.31 | 2.4.0 |
| @modelcontextprotocol/server-everything | through 2.3.0 | 2.3.1 |

This follows the 2.4.0 security release of November 11.

## What could go wrong before the fix?

Most of the 2.5.0 fixes are in the Git server, per the release notes. A repository's own Git configuration could make the server run programs with the server's privileges. It could do this through automatic maintenance after a merge, a remote that Git fetches missing objects from, filter and merge drivers, or a submodule's diff settings. A crafted index file could also make git_diff return the content of a file outside the repository. Before the fix, if a directory was swapped for a symlink, the filesystem server could list names outside the allowed folders. The fix stops this on Linux and macOS; Windows is not yet covered. The everything server fix closes a way to reach private network addresses through a NAT64 gateway.

The risk matters most to anyone who points an agent's Git or file server at repositories or folders they did not create, such as a cloned project from someone else.

## Why might my package manager not offer the upgrade?

The TypeScript servers, which include the filesystem server, moved from date versions (2025.x, 2026.x) to normal version numbers in 1.0.0, per the release notes. Package managers rank 2.4.0 below every 2025.x and 2026.x version, so they will not offer it as an upgrade. If you are on a date version of the filesystem server, install 2.4.0 by name.

## What to do today

Open your assistant's MCP configuration (for example `.mcp.json`, or `claude_desktop_config.json` for Claude Desktop) and pin the fixed versions in each server's `args`, so the launcher cannot pick an old one. For the filesystem server started with `npx`, and the Git server started with `uvx`:

```json
"filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem@2.4.0", "/path/you/allow"] },
"git": { "command": "uvx", "args": ["--from", "mcp-server-git==2026.11.18", "mcp-server-git", "--repository", "/path/to/repo"] }
```

Then restart the assistant so it starts the new versions. If you installed the filesystem server globally instead, the release notes give the command: `npm install @modelcontextprotocol/server-filesystem@2.4.0`.

Last checked 2026-11-18.

Sources:
- [MCP reference servers v2.5.0 release notes, 2026-11-18](https://github.com/modelcontextprotocol/servers/releases/tag/v2.5.0)
