A submodule's .git/config could make mcp-server-git run a program
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A security advisory for the mcp-server-git reference Git server, published by Yusef Syed on 3 December 2026, describes how a submodule's own .git/config could make the server run an attacker-named program during git diff, git add or git checkout on a repo that arrived with its .git folders intact.