A model could ask the Git MCP server to examine changes that include a submodule. The nested repository settings could activate Git executable helpers such as diff.external, textconv or checkout filters, even when the top-level operation was being treated as a safe inspection. The maintainer changed the server to keep nested Git configuration from selecting…
Inspect the ClaimsCase · 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:
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.
Evidence basis: CLM-2026-NOV21-GITMCP-SUBMODULE-1 · CLM-2026-NOV21-GITMCP-SUBMODULE-2 · CLM-ENR271-GITMCP-SUBMODULE · MCP Git server advisory GHSA-8wv7-r664-7594 on git mcp submodule configuration could trigger executable diff or checkout helpers
At a glance
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…
Read the implicationsThe advisory gives a reproducible conditional effect; it does not document a real-world victim or universal bypass of Git process isolation.
Limits and uncertaintyFull account
A model could ask the Git MCP server to examine changes that include a submodule. The nested repository settings could activate Git executable helpers such as diff.external, textconv or checkout filters, even when the top-level operation was being treated as a safe inspection. The maintainer changed the server to keep nested Git configuration from selecting such side effects. This is a distinct nested-configuration boundary, not evidence that every submodule command is dangerous.
The advisory gives a reproducible conditional effect; it does not document a real-world victim or universal bypass of Git process isolation.
Mechanism and trust boundary
- 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
- 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
- supportsMCP Git server advisory GHSA-8wv7-r664-7594 on git mcp submodule configuration could trigger executable diff or checkout helpersprimary disclosure
Summary: two distinct nested submodule execution routes
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
- supportsMCP Git server advisory GHSA-8wv7-r664-7594 on git mcp submodule configuration could trigger executable diff or checkout helpersprimary disclosure
Security advisory: submodule configuration and executable diff helpers
CLM-2026-NOV21-GITMCP-SUBMODULE-2The maintainer identifies 2026.11.18 as the fixed Git MCP release for this mechanism.supported
Basis: reported finding
- supportsMCP Git server advisory GHSA-8wv7-r664-7594 on git mcp submodule configuration could trigger executable diff or checkout helpersprimary disclosure
Security advisory: patched version and affected range
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
- Nov 21, 2026 · Published version · first publication · revision 272