Disclosed weakness · no CVE recorded

Submodule index symlink lets git_add overwrite an index outside --repository

Model Context Protocol maintainers · mcp-server-git

First documented disclosure · Review checkpoint

Summary

A symlink in a submodule’s index path reportedly directs git_add to an index outside --repository.

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.

Exploitation evidence source

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 symlink in a submodule’s index path reportedly directs git_add to an index outside --repository.

Conditions required

A client calls git_add against the named submodule-index symlink setup. Complete delivery and filesystem requirements are unpublished.

Potential impact

The maintainer reports an outside index overwrite, without publicly specifying additional files or effects.

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-6c7c-7g2v-v7qx; 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