CVE-2026-68934
code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Overview
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.
Source: OX vulnerability database
Severity
HIGH
No CVSS vector in the source. Severity comes from the advisory.
Weakness: CWE-78
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | code-review-mcp-server | <1.5.3 | 1.5.3 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/Orcus2021/code-review-mcp-server
- github.com https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8
- github.com https://github.com/Orcus2021/code-review-mcp-server/issues/56
- github.com https://github.com/Orcus2021/code-review-mcp-server/pull/57
- github.com https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3
- github.com https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.