Get the daily emailDaily email
  1. Home
  2. MCP and skills
  3. This story

MCP reference servers v2.7.0 fix 32 security advisories, five of them critical in mcp-server-git

The modelcontextprotocol/servers repository released v2.7.0, fixing 32 security advisories: 5 critical, 11 high, 9 medium and 7 low. All five critical issues are in mcp-server-git and let a malicious repository run arbitrary programs through gpg.program…

Published Read the original

Ranked #4 of 18 on Sunday, December 6

MCP reference servers v2.7.0 fix 32 security advisories, five of them critical in mcp-server-git

Why it matters

Anyone whose coding assistant uses mcp-server-git or the filesystem server on untrusted repositories should upgrade to mcp-server-git 2026.12.5 and server-filesystem 2.4.2 now.

What happened

1 min read

The modelcontextprotocol/servers repository released v2.7.0, fixing 32 security advisories: 5 critical, 11 high, 9 medium and 7 low. All five critical issues are in mcp-server-git and let a malicious repository run arbitrary programs through gpg.program, submodule filter drivers or core.worktree when tools such as git_add and git_merge are called. The filesystem, fetch, memory and everything servers also get fixes for read-only-directory bypasses, path leaks and denial-of-service bugs; earlier versions remain affected.

inscraper analysis

Our analysis

This is the largest batch of fixes the MCP reference servers have shipped, and the pattern is clear: Git has many configuration paths that execute programs, and confining a tool to --repository with a few checks does not hold up. The attacks don't need to trick the model; an agent only has to run a git tool on a malicious cloned repository. Because the reference servers are often installed as defaults in Claude Desktop, Cursor and other clients, exposure is broad. Pin and upgrade the packages, and run agents that touch untrusted code inside a container or sandbox.

More in MCP and skills