Disclosed weakness · no CVE recorded

mcp-server-git executes a nested submodule transport helper through git_add

Model Context Protocol maintainers · mcp-server-git

First documented disclosure · Review checkpoint

Summary

A nested promisor repository bypasses the old-Git lazy-fetch guard, allowing git_add to invoke its core.sshCommand.

Severity and exploitation evidence

High · 7.3/10 · CVSS 3.1. Severity source.

Exploitation not established: The public source establishes a reported weakness or controlled test, not malicious exploitation or identified victims. No product, model or proof of concept was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

A nested promisor repository bypasses the old-Git lazy-fetch guard, allowing git_add to invoke its core.sshCommand.

Conditions required

An imported/shared checkout includes a checked-out nested submodule with promisor metadata and a missing object; a client invokes git_add. The demonstrated Git 2.39.2 ignores GIT_NO_LAZY_FETCH.

Potential impact

The author demonstrated local helper execution as the server account, with a negative control. No successful network connection or privilege escalation was shown; the tool response was not retained.

Affected versions and configurations

2026.11.27 for mcp-server-git in the maintainer advisory.

Fix and mitigation status

2026.12.5 for mcp-server-git in the advisory and December 5 v2.7.0 release. This is an issue-specific patch claim.

Practical next steps

Update this package to the advisory’s patched version and retain the relevant repository, filesystem or network boundary controls.

Operating lesson

Validate the effective resource and side effects at the operation that uses it.

Evidence and limits

GHSA-33p6-82cm-6c2c; no published CVE alias in the reviewed inventory. The public technical report and its controlled-test limitations were reviewed; the reviewer did not reproduce it. Severity is attributed to the maintainer advisory; it does not establish exploitation. The original disclosure and release are both December 5; no earlier private report date is used. Only 2026.11.27 is in this advisory’s affected scope; its 2026.11.18 reproduction is explicitly historical. The description’s older unverified-fix wording is superseded by the patched field and new release.

Sources