CVE-2025-53107
published 2025-07-01CVE-2025-53107: @cyanheads/git-mcp-server is an MCP server designed to interact with Git repositories. Prior to version 2.1.5, there is a command injection vulnerability…
PriorityP263high7.5CVSS 3.1
AVNACHPRNUIRSUCHIHAH
EPSS
22.11%
97.4th percentile
@cyanheads/git-mcp-server is an MCP server designed to interact with Git repositories. Prior to version 2.1.5, there is a command injection vulnerability caused by the unsanitized use of input parameters within a call to child_process.exec, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (|, >, &&, etc.). An MCP Client can be instructed to execute additional actions for example via indirect prompt injection when asked to read git logs. This issue has been patched in version 2.1.5.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cyanheads | git-mcp-server | < 2.1.5 | 2.1.5 |
| cyanheads | git-mcp-server | >= 0 < 2.1.5 | 2.1.5 |
| serverless | serverless | >= 4.29.0 < 4.29.3 | 4.29.3 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
serverless MCP Server vulnerable to Command Injection in list-projects tool
ghsa·2025-12-31
CVE-2025-69256 [HIGH] CWE-77 serverless MCP Server vulnerable to Command Injection in list-projects tool
serverless MCP Server vulnerable to Command Injection in list-projects tool
### Summary
A command injection vulnerability exists in the Serverless Framework's built-in MCP server package (@serverless/mcp). This vulnerability only affects users of the experimental MCP server feature (serverless mcp), which represents less than 0.1% of Serverless Framework users. The core Serverless Framework CLI and deployment functionality are not affected.
The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges.
The server constructs and executes shell commands using unvalidated user input directl
OSV
serverless MCP Server vulnerable to Command Injection in list-projects tool
osv·2025-12-31
CVE-2025-69256 [HIGH] serverless MCP Server vulnerable to Command Injection in list-projects tool
serverless MCP Server vulnerable to Command Injection in list-projects tool
### Summary
A command injection vulnerability exists in the Serverless Framework's built-in MCP server package (@serverless/mcp). This vulnerability only affects users of the experimental MCP server feature (serverless mcp), which represents less than 0.1% of Serverless Framework users. The core Serverless Framework CLI and deployment functionality are not affected.
The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges.
The server constructs and executes shell commands using unvalidated user input directl
OSV
@cyanheads/git-mcp-server vulnerable to command injection in several tools
osv·2025-06-30
CVE-2025-53107 [HIGH] @cyanheads/git-mcp-server vulnerable to command injection in several tools
@cyanheads/git-mcp-server vulnerable to command injection in several tools
### Summary
A command injection vulnerability exists in the `git-mcp-server` MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges.
The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (`|`, `>`, `&&`, etc.).
### Details
The MCP Server exposes tools (`git_add`, `git_init`, `git_logs`, etcc) to perform several git operations. An MCP Client can be instructed to execut
GHSA
@cyanheads/git-mcp-server vulnerable to command injection in several tools
ghsa·2025-06-30
CVE-2025-53107 [HIGH] CWE-77 @cyanheads/git-mcp-server vulnerable to command injection in several tools
@cyanheads/git-mcp-server vulnerable to command injection in several tools
### Summary
A command injection vulnerability exists in the `git-mcp-server` MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges.
The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (`|`, `>`, `&&`, etc.).
### Details
The MCP Server exposes tools (`git_add`, `git_init`, `git_logs`, etcc) to perform several git operations. An MCP Client can be instructed to execut
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-07-01
Published