mcp-cve-project

GHSA-6hqx-gqrx-c5r2 | mcp-server-git: arbitrary command execution via a repository’s own Git configuration (core.fsmonitor) during | High |

Advisory Information

Field Value
GHSA ID GHSA-6hqx-gqrx-c5r2
CVE ID No CVE assigned
Date (index) 2026-11-11
Affected product mcp-server-git: mcp-server-git: arbitrary command execution via a repository’s own Git configuration (core.fsmonitor) during read-only tools
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-11-11
Ecosystem pip
Component mcp-server-git
CVSS score 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE CWE-94, CWE-829
Affected versions < 2026.11.11
Fixed versions 2026.11.11
Fix status Patched
Notes Indexed on 2026-11-16 from the published GitHub repository advisory.

Advisory Breakdown

mcp-server-git ran Git commands that honored a repository’s own configuration, including settings that tell Git to run a program, during tools that are documented as read-only. Fixed in mcp-server-git 2026.11.11. The patch forces Git to ignore those repository-controlled execution settings, hook paths, and external diff drivers. This note does not include a configuration example.

Fix / Remediation

Upgrade to the patched version listed above. Where the advisory says a setting is still required after the upgrade, apply that setting as well. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.

Detection / verification