Disclosed weakness · no CVE recorded

Configured Git repository root can be retargeted through a symlink

Model Context Protocol maintainers · mcp-server-git

First documented disclosure · Review checkpoint

Summary

The server re-resolves the configured root each call, accepting a symlink replacement as the confinement boundary.

Severity and exploitation evidence

Medium · 5.6/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

The server re-resolves the configured root each call, accepting a symlink replacement as the confinement boundary.

Conditions required

A local account can rename entries and create a symlink in the root’s parent; the server can read a separate repository. A later git_show call uses the replaced root. No timing race is required.

Potential impact

The author’s controlled test disclosed a committed blob from another repository. Arbitrary host-file access, writes, code execution and availability impact were not demonstrated.

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-f3r7-67gq-3pp6; 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. The page is labeled High, but its technical report expressly gives base CVSS 3.1 5.6 Medium and conditional environmental 8.2 High for a particular multiuser loopback-HTTP deployment. This row uses the base score. The description confirms exact 2026.11.18 and 2026.11.27 tests; structured affected data lists only 2026.11.27. The description’s older “no patched version” statement is superseded by its patched-version field and the December 5 release.

Sources