OS command injection in code-review-mcp-server via folderPath and baseBranch
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
code-review-mcp-server before 1.5.3 interpolates caller-supplied folderPath and baseBranch parameters into shell commands run by child_process.execSync. This is an OS command injection flaw (CWE-78) in the getLocalGitDiff, codeReview, createPR and getPRTemplate MCP tools. An attacker who can call these tools can run arbitrary commands with the privileges of the host process running the MCP server, with low privileges required and no user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Orcus2021 | code-review-mcp-server | before 1.5.3 | 1.5.3 | Patch available | CNA |
| — | code-review-mcp-server (npm) | before 1.5.3 | 1.5.3 | Patch available | GHSA-jq3q-62jc-fqq9 |
- code-review-mcp-server VendorOrcus2021 Affected before 1.5.3 Fixed in 1.5.3 Patch available CNA
- code-review-mcp-server (npm) Vendor— Affected before 1.5.3 Fixed in 1.5.3 Patch available GHSA-jq3q-62jc-fqq9
Remediation
Update code-review-mcp-server to version 1.5.3, which fixes the issue for the npm package. The sources list no fixed version for the Orcus2021 product beyond 1.5.3.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA code-review-mcp-server (Orcus2021) Fixed in 1.5.3
- Fix · GHSA-jq3q-62jc-fqq9 code-review-mcp-server (npm) Fixed in 1.5.3 Advisory →
Timeline
- 2026-11-16 Threatist record created from CVE-2026-68934
- 2026-11-16 CISA SSVC decision points changed
- 2026-11-16 Alias added: GHSA-jq3q-62jc-fqq9
- 2026-11-16 Fix available: npm/[email protected] · GHSA-jq3q-62jc-fqq9
- 2026-11-16 CVSS score added · GHSA-jq3q-62jc-fqq9
- 2026-11-16 Weakness changed · GHSA-jq3q-62jc-fqq9
- 2026-11-16 6 new references · GHSA-jq3q-62jc-fqq9
References
Other 6
- https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9
- https://github.com/Orcus2021/code-review-mcp-server/issues/56
- https://github.com/Orcus2021/code-review-mcp-server/pull/57
- https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8
- https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3
- https://github.com/Orcus2021/code-review-mcp-server
Sources
- CVE-2026-68934 · CVE Program
- CVE-2026-68934 · NVD
- GHSA-jq3q-62jc-fqq9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences