HIGHCVSS v4 8.7Vulnerability

CVE-2026-68934

### 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 `[email protected]` or later.

Properties

Severity
high
Summary
code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Nvd fetched at
2026-11-16T22:44:16.771339+00:00
Cvss severity
HIGH
Cvss score
8.7
Retrieved at
2026-11-16T22:45:19+00:00
Ghsa published
2026-11-16T22:09:06Z
Source url
https://github.com/advisories/GHSA-jq3q-62jc-fqq9
Ghsa updated
2026-11-16T22:09:07Z
Ghsa id
GHSA-jq3q-62jc-fqq9
Last source
GitHub Advisory Database
Score
8.7
Cvss version
4.0
Cve id
CVE-2026-68934
Cvss vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
First seen by Signal
2026-11-16T22:38:04+00:00
Is ghsa only
false
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published at
2026-11-16T22:18:25.070
Last modified
2026-11-16T22:18:25.070

Related Entities (3)

AFFECTS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-68934 (CVSS v4 8.7) — Ninja Signal Threat Intelligence | Ninja Signal