Disclosed weakness · no CVE recorded
mcp-server-git: a filter defined in an include file that a git command creates is run by that command's own child processes (git_commit autostash, git_merge with pull.twohead=resolve)
Model Context Protocol maintainers · mcp-server-git
First documented disclosure · Review checkpoint
Summary
A tree write creates an included configuration file; a child Git process reads its newly defined filter before the server rescans drivers.
Severity and exploitation evidence
High · numeric CVSS score not recorded. 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.
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 tree write creates an included configuration file; a child Git process reads its newly defined filter before the server rescans drivers.
Conditions required
An imported .git directory carries either a pending merge autostash or a merge using pull.twohead=resolve with fast_forward_only=false. An ordinary clone does not carry this state.
Potential impact
The author’s source-built macOS tests ran repository-defined clean or smudge commands as the server user. This is a write-tool residual; no read-only trigger was found.
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-vv37-2wgg-9rq6; 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.
Sources
- Individual maintainer advisory GHSA-vv37-2wgg-9rq6
Primary source ·
- Issue-specific patched packages in v2.7.0
Primary source ·