CVE-2026-68934
High 8.7No known exploitationFix availablecode-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Vendor advisory: GHSA-jq3q-62jc-fqq9
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 38% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-78
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | code-review-mcp-server | all versions before 1.5.3 | 1.5.3 | GitHub Advisory Database |
Timeline
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8 (opens in a new tab)
- https://github.com/Orcus2021/code-review-mcp-server/issues/56 (opens in a new tab)
- https://github.com/Orcus2021/code-review-mcp-server/pull/57 (opens in a new tab)
- https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3 (opens in a new tab)
- https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9 (opens in a new tab)
- GitHub Advisory GHSA-jq3q-62jc-fqq9 (opens in a new tab)github-advisory