Disclosed weakness · no CVE recorded
MCP Git divergent merges could overwrite ignored local files
Model Context Protocol · mcp-server-git
First documented disclosure · Review checkpoint
Summary
A divergent merge could replace an ignored local file despite the no-overwrite option.
Severity and exploitation evidence
Low · 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.
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 honors --no-overwrite-ignore on fast-forwards, but the merge-commit path could replace an ignored file such as .env.
Conditions required
A caller controls a source branch in an admitted repository and can invoke git_merge with fast_forward_only=false.
Potential impact
Replacement of operator-maintained ignored files; prior-content theft and execution of replacement content were not demonstrated.
Affected versions and configurations
2026.11.4 through versions before 2026.11.27.
Fix and mitigation status
2026.11.27 checks incoming paths before a divergent merge.
Practical next steps
Upgrade to 2026.11.27; require review of divergent merges and keep sensitive local configuration outside mergeable trees.
Operating lesson
Check the actual merge behavior rather than relying on a flag across every merge mode.
Evidence and limits
The current maintainer severity is Low with no numeric CVSS. Original reporter prose proposes Medium 6.5 and a conditional High environmental score; those are not silently adopted. The reproduction used stdio; an HTTP deployment requires separate exposure and source-branch privileges. 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
- Maintainer advisory
Primary source ·
- MCP servers 2.6.0 stable release
Primary source ·
- Public correction PR
Primary source ·
- Tagged production correction
Primary source ·