@cyanheads/git-mcp-server (npm) | High || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-53107 |
| EPSS score | 0.221140000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2025-07-01 |
| Affected product (index) | @cyanheads/git-mcp-server (npm) |
| GHSA ID | GHSA-3q26-f695-pp76 |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2025-06-30 |
| Ecosystem | npm |
| Component | @cyanheads/git-mcp-server |
| CVSS score | 7.5 HIGH CVSS v3.1 (NVD) |
| CWE | CWE-78 |
| Affected versions | <= 2.1.4 |
| Fixed versions | 2.1.5 |
| Fix status | Patched |
| Exploit status | Public PoC reported |
@cyanheads/git-mcp-server vulnerable to command injection in several tools
The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.
Unsanitized parameters passed to child_process.exec
Git tool access can become RCE when attacker controls tool arguments. Because the vulnerable component fronts real tools and credentials, successful exploitation can cross from model-facing inputs into filesystem, shell, SaaS, or cloud actions.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The remediation tightens input handling so untrusted values cannot change the executed command or code path, typically by validating arguments and removing unsafe shell-style evaluation.
2.1.5 or later as the primary remediation.<= 2.1.4.https://github.com/cyanheads/git-mcp-server/releases/tag/v2.1.5