Disclosed weakness · no CVE recorded
git_merge deletes uncommitted and ignored files in a submodule it replaces
Model Context Protocol maintainers · mcp-server-git
First documented disclosure · Review checkpoint
Summary
git_merge reportedly removes uncommitted and ignored files when replacing a submodule.
Severity and exploitation evidence
Low · 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
git_merge reportedly removes uncommitted and ignored files when replacing a submodule.
Conditions required
A merge replaces a submodule containing uncommitted or ignored files. Exact branch and merge-option requirements are unpublished.
Potential impact
Local work in that submodule can be lost; outside-repository deletion is not claimed.
Affected versions and configurations
>= 2026.11.4, < 2026.12.5 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-p8rj-2xm4-cpcj; no published CVE alias in the reviewed inventory. The complete public advisory was reviewed, but it exposes only a summary, CWE, severity and version bounds; technical details, reproducer and proposed fix were supplied in a comment unavailable in the public record. Unpublished prerequisites and mechanisms remain unknown. 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-p8rj-2xm4-cpcj
Primary source ·
- Issue-specific patched packages in v2.7.0
Primary source ·