Read the docs

OS command injection in code-review-mcp-server via folderPath and baseBranch

Priority LOW 37CWE-78Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed code-review-mcp-server (Orcus2021): 1.5.3code-review-mcp-server (npm): 1.5.3

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

VendorProductAffected versionsFixed inStatusSource
Orcus2021code-review-mcp-serverbefore 1.5.31.5.3Patch availableCNA
—code-review-mcp-server (npm)before 1.5.31.5.3Patch availableGHSA-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

  1. 2026-11-16 Threatist record created from CVE-2026-68934
  2. 2026-11-16 CISA SSVC decision points changed
  3. 2026-11-16 Alias added: GHSA-jq3q-62jc-fqq9
  4. 2026-11-16 Fix available: npm/[email protected] · GHSA-jq3q-62jc-fqq9
  5. 2026-11-16 CVSS score added · GHSA-jq3q-62jc-fqq9
  6. 2026-11-16 Weakness changed · GHSA-jq3q-62jc-fqq9
  7. 2026-11-16 6 new references · GHSA-jq3q-62jc-fqq9

References

Sources