highresolved

MCP Git merge introduces a config include that executes a command

A merged branch could create a previously missing configuration include after the server had enumerated and disabled repository drivers. Merge-abort cleanup could then load the new driver and execute its command. The maintainer lists version 2026.11.18 as patched.

The hardening pass ran once before the merge. A missing include was initially ignored, but became active after the merged branch created its file. A later Git process used by failure cleanup read that newly available configuration, while the tool could still report the merge as aborted.

The maintainer's advisory lists 2026.11.18 as the patched version. This record describes the disclosed vulnerability and does not assert that DeepInspect would prevent local execution or host compromise.

Takeaway

Upgrade to mcp-server-git 2026.11.18 or later. Reassess untrusted configuration when an operation changes files that later subprocesses will load.

Sources

mcpmcp-server-git