mcp-server-git ran the programs a repository's .git/config named. Asking your agent to read a repo already runs it The official MCP servers repository published five security advisories on 27 November, the most serious affecting mcp-server-git, the reference Git server for AI agents. Although the server strips repository-defined filters and hooks, a researcher found that with Git LFS installed, a malicious .git/config can still name programs that Git LFS reads for itself, so a read-only git_status call on an untrusted repository executes code with the user's privileges. The flaw is fixed in version 2026.11.27 without a CVE, meaning scanners will not flag it. On 27 November, the official MCP servers repository published five security advisories. The most serious one hits mcp-server-git , the server that gives Git commands to an AI agent. It promised never to run a program named by the repository's own configuration. With Git LFS installed, the promise did not hold. A git status , a read-only tool, was enough to run code with your rights. TL;DR : a .git directory supplied by someone else is code. Its config file can name a program, and Git runs it on the first git status . mcp-server-git emptied those keys, but not the ones Git LFS reads for itself. The fix is in version 2026.11.27, with no CVE number: your scanner will not warn you. Before you open a repository you did not clone yourself, list its filters, or run your agent without your tokens. State of the sources and of my machine: checked on 1 December 2026. Check the version of your MCP servers before you act. This article is for developers who give Git tools to an AI agent, and for teams that let it read repositories they did not write. A normal clone does not carry the .git/config file. Your own Git creates it, on your machine. But a repository often arrives another way. A zip archive, a shared folder, a repository copied with its .git , a repository already on the machine. In those cases the .git comes along, and someone else wrote its content. That file can name programs. A filter https://git-scm.com/docs/gitattributes is the simplest example. The key filter.