Disclosed weakness · no CVE recorded
MCP Git alternates-file race could read another repository’s objects
Model Context Protocol · mcp-server-git
First documented disclosure · Review checkpoint
Summary
A concurrent metadata rewrite could redirect a confined Git object lookup.
Severity and exploitation evidence
Medium · 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
An ordinary alternates file changed after validation and before Git resolved the requested object.
Conditions required
The caller can invoke git_show, write metadata in the allowed repository through another tool, win the race and know the target object ID; the server can read the other repository.
Potential impact
Disclosure of a known Git object from another repository; arbitrary host-file reads or unknown-object enumeration were not demonstrated.
Affected versions and configurations
Before 2026.11.27; the report directly tested 2026.11.18.
Fix and mitigation status
2026.11.27 gives confined calls a private object directory that omits alternates.
Practical next steps
Upgrade to 2026.11.27 and deny untrusted writes to Git metadata; isolate repositories with different trust levels.
Operating lesson
Bind validation to the object store used during the operation.
Evidence and limits
The reporter’s 6.5 base and 8.6 environmental scores are distinct from current maintainer Medium metadata with no numeric score. The test Filesystem allowlist included both repositories; the narrower cross-user environment was not replayed. CVE-2026-41902 mentioned in older issues belongs to another product and is not assigned here. 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 ·