CVE-2026-68934 code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
HighCVSS 8.7
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm code-review-mcp-server(npm) | < 1.5.3 | 1.5.3 | Fixed |
| Orcus2021 code-review-mcp-server | = < 1.5.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Orcus2021 code-review-mcp-server | = < 1.5.3 | No fix listed |
| npm code-review-mcp-server(npm) | < 1.5.3 | 1.5.3 |
References
- https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9 vendor-advisory
- https://github.com/Orcus2021/code-review-mcp-server/issues/56
- https://github.com/Orcus2021/code-review-mcp-server/pull/57 patch
- https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8 patch
- https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3
- github.com
- github.com product