All vulnerabilities

npm

CVE-2026-68934

code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters

Severity
High
Published
16 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.5.3
Exploit chance
0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
OS command injection (CWE-78)
Also known as
GHSA-jq3q-62jc-fqq9
Sources
OSV.dev and GitHub

Description

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; #" (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.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

None. Upgrade to [email protected] or later.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
code-review-mcp-servernpm · osv:npm:code-review-mcp-server
  • Every version before 1.5.3

About code-review-mcp-server

Weekly downloads (npm)
1,467npm, 24 Nov 2026

This is the only vulnerability in code-review-mcp-server in our list.

References