Submit #953767: 0xshariq github-mcp-server e3be2cc110ec0bb055a699a9b74cf20fe0422e3c Command Injectioninfo

Title0xshariq github-mcp-server e3be2cc110ec0bb055a699a9b74cf20fe0422e3c Command Injection
DescriptionAn OS command injection vulnerability (CWE-78) has been identified in the git_remove MCP tool of 0xshariq github-mcp-server at commit e3be2cc110ec0bb055a699a9b74cf20fe0422e3c. The tool embeds the attacker-controlled file argument in a shell command and passes the resulting string to child_process.exec without safely separating command arguments or neutralizing shell metacharacters. An attacker with access to the MCP interface can escape the quoted filename and execute arbitrary operating-system commands with the privileges of the server process, potentially resulting in unauthorized data access, system modification, or service disruption. A working exploit has been demonstrated using the id command and is publicly available. This product does not use versioning, so affected and unaffected release information is unavailable, and no fixed version is known at the time of reporting.
Source⚠️ https://github.com/0xshariq/github-mcp-server/issues/2
User
 Xh1Xxhg (UID 90906)
Submission08/31/2026 06:20 (30 days ago)
Moderation09/29/2026 19:48 (30 days later)
StatusAccepted
VulDB entry411537 [0xshariq github-mcp-server up to 52e764a7d66eac1726fce02ca7bb5a638571801a Git Remove MCP Tool src/github.ts child_process.exec File os command injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!