code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
CVE-2026-68934 · GHSA-jq3q-62jc-fqq9 · EUVD-2026-126705 · published 16 Nov 2026
How serious is it
- Severity: high, CVSS score 8.7 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-68934?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
code-review-mcp-server(npm) < 1.5.3
How to check
- Run
npm ls code-review-mcp-serverin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- Upgrade
code-review-mcp-serverto 1.5.3 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
### Impact
`code-review-mcp-server` exposes MCP tools (`getLocalGitDiff`, `codeReview`, `createPR`, `getPRTemplate`) that accept `folderPath` and `baseBranch` string parameters. These caller-controlled values were interpolated directly into shell command strings executed via `child_process.execSync()`, which runs commands through `/bin/sh`.
A crafted value such as `baseBranch = "main; <arbitrary command> #"` (or a `$(...)` command substitution, or a `folderPath` that breaks out of the surrounding quotes) results in **arbitrary command execution** on the host running the MCP server.
### Patches
Fixed in **1.5.3**. Every `execSync()` call was replaced with `execFileSync()` using argument arrays, so inputs are passed directly to `git` / `gh` without going through a shell, eliminating the injection at its root.
### Workarounds
None. Upgrade to `code-review-mcp-server@1.5.3` or later.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9
- github.com/Orcus2021/code-review-mcp-server/issues/56
- github.com/Orcus2021/code-review-mcp-server/pull/57
- github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8
- github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3
- github.com/advisories/GHSA-jq3q-62jc-fqq9
- github.com/Orcus2021/code-review-mcp-server
Merged from GitHub Advisory Database, OSV, ENISA EUVD. Last updated 17 Nov 2026. All vulnerabilities · RSS · JSON