News · Model Context Protocol · 2 min read
Event date: · Published:
MCP project patches five critical RCE flaws in its official Git MCP server
The Model Context Protocol project disclosed and fixed eight security advisories on November 18, 2026, including five High-severity remote-code-execution flaws in its official Git MCP server.
The Model Context Protocol project disclosed and patched eight security advisories across its official reference MCP servers on November 18, 2026, including five High-severity flaws in the mcp-server-git server that let attackers bypass its hardened repo sandbox to achieve remote code execution, according to the GHSA-h2g3-rwxm-xfm3 advisory.
What changed
- Eight security advisories were published for the project's official reference servers on November 18, 2026.
- Five High-severity advisories (CVSS 7.8) affect
mcp-server-gitversions before 2026.11.18, fixed in release 2026.11.18. - The flaws bypass the hardened repo sandbox through
git_mergeautomatic maintenance, Git's lazy-fetch promisor mechanism, and a time-of-check/time-of-use bug that resolves a malicious filter driver ongit merge --abort, as detailed in the GHSA-9vjp-x34c-xg6v advisory. - A Moderate path-traversal issue (GHSA-r2q8-f657-4r56) lets
git_statusorgit_diffleak file contents outside the declared repository boundary. - Two Low-severity advisories fix
@modelcontextprotocol/server-filesystem(symlink TOCTOU race, versions before 2.4.0) and@modelcontextprotocol/server-everything(NAT64 SSRF bypass, versions before 2.3.1).
What it means for builders using AI agents
Exploitation needs no special permissions: an attacker only has to get a victim's AI coding agent to point the Git MCP server at a crafted repository, such as an archive, CI artifact, or shared folder, to trigger remote code execution. That put the exact agent-plus-git workflow many vibecoders rely on daily at direct risk, since simply browsing or merging an untrusted repository through the official server was enough to compromise the machine running the agent.
Fixes and availability
Developers running mcp-server-git should upgrade to release 2026.11.18, while users of the reference filesystem and everything servers should move to versions 2.4.0 and 2.3.1 to close the remaining Low-severity issues. The full set of eight advisories is listed in the servers security advisories index.
Sources
- GHSA-h2g3-rwxm-xfm3: RCE via git_merge automatic maintenance (Model Context Protocol, November 18, 2026, official)
- GHSA-9vjp-x34c-xg6v: TOCTOU config-include RCE on merge abort (Model Context Protocol, November 18, 2026, official)
- modelcontextprotocol/servers security advisories index (Model Context Protocol, November 18, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.