Disclosed weakness · no CVE recorded

MCP Git configured-root pointers could expose a different repository

Model Context Protocol · mcp-server-git

First documented disclosure · Review checkpoint

Summary

The configured root could use an external Git directory and pass its own confinement check.

Severity and exploitation evidence

Medium · numeric CVSS score not recorded. Severity source.

Exploitation not established: Public original reports and static source review establish the weakness or reported demonstrations. Malicious exploitation against users is not established; this review executed no exploit or package.

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

Validation reopened the same attacker-supplied root and accepted its redirected Git metadata as the allowed identity.

Conditions required

A local contributor supplies the root’s .git pointer, a client invokes a Git tool and the server account can read the other repository.

Potential impact

Disclosure of committed content outside the configured root; arbitrary host-file reads or execution were not established.

Affected versions and configurations

Before 2026.11.27; directly tested 2026.11.18.

Fix and mitigation status

2026.11.27 records allowed root Git directories at startup and verifies legitimate worktree or submodule relationships.

Practical next steps

Upgrade to 2026.11.27 and use trusted repository metadata; isolate access to unrelated repositories.

Operating lesson

An attacker-controlled path cannot define its own trusted identity.

Evidence and limits

The reporter’s CVSS 3.1 base 5.9 and conditional environmental 8.6 are not the maintainer’s numeric score; current metadata says Medium without one. This configured-root path is separate from the earlier nested gitdir issue CVE-2026-134465. The public correction PR, stable monorepo 2.6.0 release and issue-specific tagged production source were reviewed. Package versions are distinct from the monorepo version. No CVE is published in the reviewed maintainer identity fields. Original report prose describing an unpatched test build is superseded only for remediation by current advisory metadata and the release.

Sources