CVE-2026-68934: code-review-mcp-server before 1.5.3 runs shell commands injected through folderPath and baseBranch tool arguments
The npm MCP server code-review-mcp-server (Orcus2021), which reviews code and can post comments and open pull requests on GitHub, interpolated the folderPath and baseBranch arguments of its getLocalGitDiff, codeReview, createPR and getPRTemplate tools into shell strings run with child_process.execSync. Any value the agent passes, including one planted by prompt injection, could run arbitrary commands with the MCP server's privileges. Fixed in 1.5.3.
What it is
A value such as baseBranch = "main; <command> #", a $(...) substitution, or a folderPath that breaks out of its quotes is executed by /bin/sh.
The tools are called by the AI client, so anything that steers the model (a malicious PR description, issue text or file in the repo) can choose these arguments.
1.5.3 replaced every execSync() call with execFileSync() and argument arrays. The maintainer lists no workaround. GitHub published GHSA-jq3q-62jc-fqq9 on 6 July 2026; NVD published the CVE on 16 November 2026.
How to check
- Look for code-review-mcp-server in your MCP client configs (Claude Desktop, Cursor, VS Code) and npx launch lines, and check the installed version with `npm ls code-review-mcp-server`.
How to fix
- Upgrade to code-review-mcp-server 1.5.3 or later (pin @1.5.3+ in npx launch lines).
- If an older version ran against untrusted repos or PRs, rotate the GitHub token configured for it.
npm ls -g code-review-mcp-server 2>/dev/null
grep -rn 'code-review-mcp-server' ~/.cursor ~/Library/Application\ Support/Claude ~/.config 2>/dev/null Sources
- criticalMalicious npm package @guicai777/mcp-doctor posed as an MCP diagnostic tool and dropped a hidden Windows executable, with a README telling users to run mshta (MAL-2026-20295)
- criticalCVE-2026-77359: Jupyter MCP Server's /api/connect and /api/stop routes skipped the token and Origin checks, so a website or network caller could repoint it to an attacker's Jupyter backend (fixed 1.0.3)
- criticalMalicious npm packages posing as AI SDKs and MCP servers: character-ai-sdk, char-ai-sdk, @mibbp/agent-observer, mrnima-openai-chatgpt-bot and @fdcasj_dfew/md-doc-mcp
- criticalCVE-2026-76807: Doist's official Todoist MCP HTTP server let any website use DNS rebinding to read, create and delete your Todoist data (fixed 10.3.3)