Disclosed weakness · no CVE recorded

MCP Git empty driver names could execute repository commands

Model Context Protocol maintainers · mcp-server-git

First documented disclosure · Review checkpoint

Summary

The driver-name pattern skips empty names accepted by Git.

Severity and exploitation evidence

High · 7.8/10 · CVSS 3.1. 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

The driver-name pattern skips empty names accepted by Git.

Conditions required

An imported archive, copied workspace or shared tree carries attacker-controlled .git/config and attributes; a tool opens it. A normal clone does not carry that config.

Potential impact

A read-only status call can run a repository-selected command as the server user.

Affected versions and configurations

< 2026.11.18

Fix and mitigation status

2026.11.18 for this issue; later advisories describe separate residual paths.

Practical next steps

Use 2026.11.18 or a newer supported build; restrict imported repository metadata.

Operating lesson

Read-only tool labels do not establish the absence of executable repository configuration.

Evidence and limits

Original maintainer disclosure is November 18. Alt’s later MCP Turns Two report led to this backfill; its undated page does not reset the disclosure. Controlled tests only; severity is the maintainer’s CVSS 3.1 assessment.

Sources