Disclosed weakness · no CVE recorded
git_merge raises an uncaught StopIteration on a forged tree path (DoS)
Model Context Protocol maintainers · mcp-server-git
First documented disclosure · Review checkpoint
Summary
A forged tree entry exhausts the path-spelling lookup and raises uncaught StopIteration during merge.
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
A forged tree entry exhausts the path-spelling lookup and raises uncaught StopIteration during merge.
Conditions required
A crafted repository contains a tree entry named .. and a client calls git_merge with fast_forward_only=false.
Potential impact
The merge aborts with a tool error. The source says the working tree stays unchanged and no outside file is touched; server-process termination is not established.
Affected versions and configurations
< 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-9mfh-3wgg-p688; 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-9mfh-3wgg-p688
Primary source ·
- Issue-specific patched packages in v2.7.0
Primary source ·