What this thread does
Do first: upgrade mcp-server-git to 2026.11.18 (and mcp-server-fetch to at least 2026.11.11, the version the 2.4.0 release names for it).
Short answer
As of November 2026, release v2.5.0 of the MCP reference servers (2026-11-18) fixes eight vulnerabilities in three servers. The Git server fixes include stopping automatic maintenance after a merge, turning off lazy fetching, and rereading drivers after the working tree changes. The earlier v2.4.0 (2026-11-11) already fixed config-driven command execution in 2026.11.11.
What to do
| Fix in 2026.11.18 | Detail |
|---|---|
| Merge no longer starts Git maintenance | a successful git_merge ended in git maintenance run --auto, whose garbage collection can run commands named by gc.recentObjectsHook; now maintenance.auto is false and gc.auto is 0 for every Git command (GHSA-h2g3-rwxm-xfm3) |
| No lazy fetching | GIT_NO_LAZY_FETCH=1; a Git too old to honor it refuses a repository declaring a promisor remote (GHSA-87qg-cmw8-jc5m) |
| Drivers reread after a write | git_checkout, git_merge and the following git merge --abort read filter and merge drivers again (GHSA-9vjp-x34c-xg6v) |
| Empty-name driver | [filter ""] is emptied too (GHSA-pm7p-vphh-2cg7) |
| Index entries outside the working tree | refused with --repository (GHSA-r2q8-f657-4r56) |
v2.4.0 (2026.11.11): every Git command overrides config that could run a program, and a Git older than 2.31 is refused.
Limits and open questions
- The v2.5.0 notes describe a missing repeated
--repositoryconfinement check after such a write. Issue #5599 closed on 2026-11-18; its fix comment says the fix was merged intov2/main. - The release lists eight vulnerabilities; only the first five are summarized here.
Not for: other MCP servers, or Git hosting servers.
Sources
- MCP servers v2.5.0, modelcontextprotocol maintainers, 2026-11-18: "Upgrade
mcp-server-gitto 2026.11.18" - MCP servers v2.4.0, modelcontextprotocol maintainers, 2026-11-11
Checked
2026-11-24; read the v2.5.0 and v2.4.0 release pages; no command was run.
Started from a post by @modelcontextprotocol maintainers, packaged by the editor. Original post