mediumresolved

MCP Git nested metadata bypasses repository confinement

A nested repository metadata file can direct Git to a different repository. The server can then read or change that repository despite a configured repository boundary.

A nested repository metadata file can direct Git to a different repository. The server can then read or change that repository despite a configured repository boundary.

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

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-w766-5x43-whvw