← All advisories
CVE-2026-68934highCode execution2026-11-16

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.

01.

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.

02.

How to check

  1. 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`.
03.

How to fix

  1. Upgrade to code-review-mcp-server 1.5.3 or later (pin @1.5.3+ in npx launch lines).
  2. 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
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.