CVE-2026-68934
code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
- Severity
- high CVSS 8.7 (v4.0)
- Affects
- code-review-mcp-server · Orcus2021
- Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
- Published
- 16 November 2026 by GitHub_M
code-review-mcp-server automates code review and can post comments directly on GitHub pull requests. Prior to 1.5.3, the getLocalGitDiff, codeReview, createPR, and getPRTemplate MCP tools accept caller-controlled folderPath and baseBranch string parameters that are interpolated into command strings executed by child_process.execSync through /bin/sh. Shell metacharacters, command substitution, or quote-breaking input can therefore execute arbitrary commands with the privileges of the host process running the MCP server. This issue is fixed in version 1.5.3.
Our coverage
We have not written about this one. Know why it matters? Send a tip.