mcp-server-git (argument injection in git operations) | Medium || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-68144 |
| EPSS score | 0.072800000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2025-12-17 |
| Affected product (index) | mcp-server-git (argument injection in git operations) |
| GHSA ID | GHSA-9xwc-hfwc-8w59 |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2025-12-17 |
| Ecosystem | pip |
| Component | mcp-server-git |
| CVSS score | 7.1 HIGH CVSS v3.1 (NVD) |
| CWE | CWE-88 |
| Affected versions | < 2025.12.18 |
| Fixed versions | 2025.12.18 |
| Fix status | Patched |
| Exploit status | Public PoC reported |
mcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local files
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.
Argument injection in git_diff / git_checkout
Can overwrite local files via Git argument confusion. Because the flaw sits in shared MCP plumbing, downstream servers and developer tooling can inherit the risk at scale.
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.
2025.12.18 or later as the primary remediation.Public PoC or exploit discussion is reported in the current source set. Add a direct lab-safe reference here rather than copying payloads into the page.
< 2025.12.18.https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-9xwc-hfwc-8w59