Command Injection Vulnerability in Git MCP Server by Cyanheads
CVE-2025-53107
What is CVE-2025-53107?
The Git MCP Server prior to version 2.1.5 contains a command injection vulnerability due to the unsanitized use of input parameters in system command executions. This flaw allows attackers to inject arbitrary commands leading to potential remote code execution with server privileges. The server's method of constructing and executing shell commands with unvalidated user input poses a risk of injection, particularly through shell metacharacters. Moreover, an MCP Client could exploit this vulnerability by indirectly prompting the server to perform unintended actions, such as reading git logs. The issue has been resolved in version 2.1.5, and users are urged to update to safeguard against possible exploitation.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
git-mcp-server < 2.1.5
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
