When Git dereferenced a missing object, a read-oriented tool could trigger lazy fetching. The repository configuration selected the transport used for that fetch, which could invoke an executable controlled by the repository rather than merely reading local commit data. The upstream fix prevents this lazy fetch behavior in the exposed Git MCP operation. It…
Inspect the ClaimsCase · DiggingBeagle record
Git MCP lazy object fetching could execute repository-selected transport
A repository configured for lazy promisor fetching could cause a nominal read to launch a configured transport command.
Published by DiggingBeagle:
Git MCP server 2026.11.11 with a repository carrying attacker-controlled partial-clone/promisor configuration.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Vendor or researcher primary evidence establishes the stated mechanism and its bounds; the public record does not support a population-wide impact score, prevalence or generalization to installations without the prerequisites.
Assessed Nov 21, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-2026-NOV21-GITMCP-PROMISOR-1 · CLM-2026-NOV21-GITMCP-PROMISOR-2 · CLM-ENR271-GITMCP-PROMISOR · MCP Git server advisory GHSA-87qg-cmw8-jc5m on git mcp lazy object fetching could execute repository-selected transport
At a glance
A missing Git object can trigger a lazy network fetch even during a read-only tool call. The remote and transport commands are selected from repository configuration unless disabled or constrained, and the source demonstrates this path in a full repository configured to use a promisor, not only in a preexisting partial clone. A complete repository without…
Read the implicationsThis is a conditional code-execution path demonstrated by the advisory. A normally complete repository without the relevant fetch configuration does not establish an exploit; no production victim count is published.
Limits and uncertaintyFull account
When Git dereferenced a missing object, a read-oriented tool could trigger lazy fetching. The repository configuration selected the transport used for that fetch, which could invoke an executable controlled by the repository rather than merely reading local commit data. The upstream fix prevents this lazy fetch behavior in the exposed Git MCP operation. It is independent from the merge maintenance-hook route because the effect is triggered by missing-object lookup.
This is a conditional code-execution path demonstrated by the advisory. A normally complete repository without the relevant fetch configuration does not establish an exploit; no production victim count is published.
Mechanism and trust boundary
- 01
Repository advertises lazy object retrieval
A Git repository defines a promisor remote and transport-selection configuration, with at least one object missing from local storage.
Boundary: untrusted repository config -> Git fetch behavior
- 02
Object lookup starts configured program
A read-oriented tool requests the missing object, triggering a lazy fetch and repository-selected executable transport.
Boundary: read-only tool request -> operating-system execution
Claims & evidence
CLM-ENR271-GITMCP-PROMISORThe advisory explains that a complete local Git repository can still run a configured transport command when a promisor setting and a missing object force a lazy fetch.supported
Basis: reported finding
- supportsMCP Git server advisory GHSA-87qg-cmw8-jc5m on git mcp lazy object fetching could execute repository-selected transportprimary disclosure
Summary: full repository promisor setting and lazy fetch without partial clone
CLM-2026-NOV21-GITMCP-PROMISOR-1A repository configured for lazy promisor fetching could cause a nominal read to launch a configured transport command.supported
Basis: reported finding
- supportsMCP Git server advisory GHSA-87qg-cmw8-jc5m on git mcp lazy object fetching could execute repository-selected transportprimary disclosure
Security advisory: lazy fetching and attacker-configured transport process
CLM-2026-NOV21-GITMCP-PROMISOR-2The maintainer identifies 2026.11.18 as the fixed Git MCP release for this mechanism.supported
Basis: reported finding
- supportsMCP Git server advisory GHSA-87qg-cmw8-jc5m on git mcp lazy object fetching could execute repository-selected transportprimary disclosure
Security advisory: patched version and affected range
Implications
A missing Git object can trigger a lazy network fetch even during a read-only tool call. The remote and transport commands are selected from repository configuration unless disabled or constrained, and the source demonstrates this path in a full repository configured to use a promisor, not only in a preexisting partial clone. A complete repository without that malicious configuration is not evidence of impact.
Controls and mitigations
- Upgrade the MCP Git server to the fixed 2026.11.18 release and keep its operating-system privileges restricted.
- Test repository-originated Git configurations and nested state separately from the chat model, using a synthetic repository and non-sensitive host files.
Unknowns and contradictions
- This is a conditional code-execution path demonstrated by the advisory. A normally complete repository without the relevant fetch configuration does not establish an exploit; no production victim count is published.
Sources and citation
Material revision history
- Nov 21, 2026 · Published version · first publication · revision 272