mediumresolved

MCP Git remote-name parsing bypass exposes host Git credentials

A crafted remote name containing a tab could bypass credential redaction in git_remote output. With a credential-bearing global URL rewrite, an untrusted repository could expose the host user's Git token to the model. The maintainer lists version 2026.11.27 as patched.

The advisory gives CVSS 5.3 and distinguishes host credentials from secrets already stored in the repository. Remote-output parsing split on the first tab, shifting the URL field so the subsequent credential-redaction check did not recognize it.

The maintainer's advisory lists 2026.11.27 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.27 or later. Limit the credentials available to tool servers and avoid assuming read-only metadata output is free of secrets.

Sources

mcpmcp-server-git