code-review-mcp-server command injection vulnerability
Start here
code-review-mcp-server (CVE-2026-68934) has a command injection vulnerability; versions before 1.5.3 are affected: four MCP tools accept caller-controllable parameters that are used in shell command execution without filtering, allowing arbitrary command execution on the host running the server. 1.5.3 fixes this by switching to execFileSync() and no longer going through the shell.
Generated by AI from reports · Updated 13 days ago
Progress timeline
- GitHub Security Advisoriescode-review-mcp-server unfiltered parameters led to command injection, fixed in 1.5.3
code-review-mcp-server (CVE-2026-68934) fixed a command injection vulnerability in its MCP tools; versions before 1.5.3 are affected, and it is fixed in 1.5.3. The package's four tools getLocalGitDiff, codeReview, createPR, and getPRTemplate accept caller-controllable folderPath and baseBranch string parameters, and these values were previously concatenated directly into shell commands executed via child_process.execSync() (run through /bin/sh); constructing parameter values containing command separators or $(...) command substitution allows arbitrary command execution on the host running the MCP server. The fix replaces all execSync() calls with execFileSync() using argument arrays, passing input directly to git and gh without going through a shell.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@agentprime_io🟠 code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters (CVE-2026-68934) Fix → 1.5…(opens the original post in a new tab)
Attention trend
New sources per day
- Nov 17: 2 new sources (1 outlets, 1 accounts)
- Nov 18: 0 new sources (0 outlets, 0 accounts)
- Nov 19: 0 new sources (0 outlets, 0 accounts)
- Nov 20: 0 new sources (0 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)