highresolved

MCP Git server executes repository-controlled Git configuration

A repository can configure Git to invoke an attacker-selected program. Even a status request can therefore execute code with the MCP process permissions when the server inspects an untrusted repository.

A repository can configure Git to invoke an attacker-selected program. Even a status request can therefore execute code with the MCP process permissions when the server inspects an untrusted repository.

This is a maintainer-documented vulnerability disclosure, not evidence of exploitation against a named customer. Affected ranges: mcp-server-git < 2026.11.11. The maintainer lists patched releases: mcp-server-git 2026.11.11.

Takeaway

Check the deployed package and its configuration against the advisory. Apply the listed fix on a supported release line and verify the trust boundary with an untrusted client or repository.

Sources

mcpghsa-6hqx-gqrx-c5r2