Case · DiggingBeagle record

Git MCP submodule configuration could trigger executable diff or checkout helpers

Nested Git configuration in a submodule could cause execution as a read or checkout operation traversed repository state.

Published by DiggingBeagle:

Scope

Git MCP server 2026.11.11; a repository contains attacker-controlled submodule configuration or paths.

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

    Nested repository brings separate settings

    A repository contains a submodule with its own Git configuration that is not inspected by the top-level hardening pass.

    Boundary: top-level repository boundary -> nested Git configuration

  2. 02

    Nested diff or checkout starts a helper

    A diff with submodule expansion or add/checkout can run nested external diff, text conversion or clean-filter commands.

    Boundary: apparently safe Git operation -> nested process execution

Claims & evidence

CLM-ENR271-GITMCP-SUBMODULEThe advisory distinguishes read-only diff invocation of submodule diff.external or textconv from checkout/add invocation of nested clean filters.supported

Basis: reported finding

Link to claim
CLM-2026-NOV21-GITMCP-SUBMODULE-1Nested Git configuration in a submodule could cause execution as a read or checkout operation traversed repository state.supported

Basis: reported finding

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

Basis: reported finding

Link to claim

Implications

A top-level repository policy does not automatically govern the execution settings inside a nested submodule. A read-only diff can select the submodule diff.external command when diff.submodule=diff, while checkout and add have separate filter paths. This is a configuration inheritance failure in nested Git execution; it must not be collapsed into the index traversal or top-level maintenance-hook findings.

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

  • The advisory gives a reproducible conditional effect; it does not document a real-world victim or universal bypass of Git process isolation.

Sources and citation

Material revision history

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