Code Review Mcp Server
Monthly
Arbitrary command execution in the npm package code-review-mcp-server affects all versions before 1.5.3: the getLocalGitDiff, codeReview, createPR and getPRTemplate MCP tools pass caller-supplied folderPath and baseBranch strings into git/gh command lines built with child_process.execSync, which runs through /bin/sh. An attacker who is authorized to invoke those MCP tools (the assessed vector is PR:L, UI:N) can inject shell metacharacters, command substitution or quote-breaking input and run commands with the privileges of the host process running the MCP server, with high confidentiality, integrity and availability impact to that host. The vendor advisory, issue #56, PR #57, the patch commit and the v1.5.3 release all confirm the mechanism, and version 1.5.3 replaces every execSync call with execFileSync argument arrays; no public exploit code was identified at time of analysis and the flaw is not in CISA KEV, but the default configuration is vulnerable and no workaround is offered.
Arbitrary command execution in the npm package code-review-mcp-server affects all versions before 1.5.3: the getLocalGitDiff, codeReview, createPR and getPRTemplate MCP tools pass caller-supplied folderPath and baseBranch strings into git/gh command lines built with child_process.execSync, which runs through /bin/sh. An attacker who is authorized to invoke those MCP tools (the assessed vector is PR:L, UI:N) can inject shell metacharacters, command substitution or quote-breaking input and run commands with the privileges of the host process running the MCP server, with high confidentiality, integrity and availability impact to that host. The vendor advisory, issue #56, PR #57, the patch commit and the v1.5.3 release all confirm the mechanism, and version 1.5.3 replaces every execSync call with execFileSync argument arrays; no public exploit code was identified at time of analysis and the flaw is not in CISA KEV, but the default configuration is vulnerable and no workaround is offered.