A submodule's .git/config could make mcp-server-git run a program The Model Context Protocol's reference Git server, mcp-server-git, was patched in version 2026.11.18 after security advisory GHSA-8wv7-r664-7594 showed that a submodule's own .git/config could make the server execute a program named in settings such as diff.external, textconv or filter..clean during git_diff, git_checkout or git_add. The flaw bypassed the harden_repo function added in 2026.11.11 for earlier advisory GHSA-6hqx-gqrx-c5r2, which only read the top-level repo's config; in the advisory's reproduction the payload wrote its marker 3 times out of 3 with the config in place and 0 out of 3 in control repos. Only repos that arrive with their .git folders intact — a zipped project, shared dev volume or CI artifact, not a plain git clone or GitHub source ZIP — can trigger it, and the server had about 460K PyPI downloads in the last 30 days; 2026.11.27 is the latest release. A submodule's .git/config could make mcp-server-git run a program Yusef Syed. . If an AI agent used mcp-server-git on a repo someone else prepared, a diff, a checkout or a git add . could run a program named in a submodule's own .git/config . It's fixed in 2026.11.18, so update 2026.11.27 is the latest right now . A plain git clone doesn't trigger it, because the repo has to arrive with its .git folders still inside, like a zipped project or a shared dev volume. mcp-server-git is the Model Context Protocol project's reference Git server. An agent uses it to run tools like git status , git diff , git checkout and git add on a repo you point it at, and it had about 460K PyPI downloads in the last 30 days pypistats . Its README says it never runs a program a repo's configuration names. A submodule got around that. The diff case also needs one setting in the parent repo, covered below. The advisory is GHSA-8wv7-r664-7594 https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-8wv7-r664-7594 . What happened Git config can name programs. diff.external runs a diff tool, a textconv driver converts files before a diff, and a filter.