Vibeleaderboard
← Intel

Official MCP git server could run programs set in a repo's config

MCP servers v2.6.0 fixes eight flaws across the git, memory and fetch servers. Some npm users must upgrade by hand to get the fix.

By VibeLeaderboard

Nov 27, 2026, 11:13 AM UTC

The Model Context Protocol (MCP) is the standard many AI coding agents use to call outside tools, and the project maintains a set of official reference servers that agents can run locally, including servers for Git, file access, web fetching and memory. Their v2.6.0 release, published November 27, fixes eight vulnerabilities in three of those servers and completes two fixes that v2.5.0 left open, according to the release notes.

The most serious fix is in mcp-server-git. When Git LFS, an extension for storing large files, was installed, the server let LFS read settings from a repository's own .git/config that name programs to run. That meant tools as harmless-sounding as the read-only git_status could execute those programs with the server's privileges. The release notes point out that the server's official Docker image installs Git LFS system-wide. Version 2026.11.27 empties those settings at repository scope and turns off LFS downloads.

This matters because an agent is often pointed at repositories it did not write. A cloned project could carry a crafted .git/config, and an agent checking its status would trigger the program. The fix removes that path, but only for servers that are upgraded.

The same release closes several ways the git server could reach beyond the repository it was given. A --repository root whose .git file pointed elsewhere was accepted, so git_show could serve another repository's content. git_remote could return a stored credential through a crafted remote name, and repo_path expanded environment variables, letting a tool call read the server's environment. git_merge could also overwrite an ignored file such as .env on a merge of diverged branches, because Git only honors its no-overwrite flag on fast-forwards.

The maintainers ask users to upgrade mcp-server-git and mcp-server-fetch to 2026.11.27 and server-memory to 2.2.2, plus server-filesystem to 2.4.1 on Windows. There is a catch for the npm packages: they moved from date versions to semantic versions, and package managers rank 2.2.2 and 2.4.1 below every 2025.x and 2026.x release. Anyone still on a date version will not be offered the fix and has to install it explicitly.

Not everything is closed. On Windows, the filesystem server now refuses paths that contain a junction or symlink, but the release notes say a swap made and undone while a directory is being read is still not detected.

Original Intel entry →

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition