Case · 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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 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

  2. 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

Link to claim
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

Link to claim
CLM-2026-NOV21-GITMCP-PROMISOR-2The maintainer identifies 2026.11.18 as the fixed Git MCP release for this mechanism.supported

Basis: reported finding

Link to claim

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

  1. Nov 21, 2026 · Published version · first publication · revision 272