Vulnerabilities in pkg:npm/code-review-mcp-server
PACKAGECVE-2026-68934 is a HIGH command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting code-review-mcp-server libraries in the npm ecosystem. The issue involves command injection via unsanitized folderpath/basebranch parameters. Remediation is available by upgrading affected packages to version 1.5.3.
pkg:npm/code-review-mcp-server
Vulnerability advisories affecting package pkg:npm/code-review-mcp-server. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jq3q-62jc-fqq9 | CVE-2026-68934 | HIGH | code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters |
CVE-2026-68934 at a Glance
How to Fix CVE-2026-68934
To remediate this vulnerability, upgrade all affected code-review-mcp-server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install code-review-mcp-server@1.5.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls code-review-mcp-server
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-68934, inspect your project dependencies using npm:
npm ls code-review-mcp-server
Analyze the terminal output to locate any version of code-review-mcp-server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.3), your application is affected.
Note: The npm ls code-review-mcp-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In code-review-mcp-server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-68934 Affected code-review-mcp-server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
code-review-mcp-server
|
npm |
< 1.5.3
|
1.5.3
|
References
Frequently Asked Questions
What is CVE-2026-68934?
Which code-review-mcp-server versions are affected?
What version fixes CVE-2026-68934?
Is code-review-mcp-server affected?
What CWE is associated with CVE-2026-68934?
How can I check npm dependencies for CVE-2026-68934?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jq3q-62jc-fqq9",
"modified" : "2026-11-16T22:09:06Z",
"published" : "2026-11-16T22:09:06Z",
"aliases" : [ "CVE-2026-68934" ],
"summary" : "code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters",
"details" : "### Impact\n\n`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`.\n\nA 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.\n\n### Patches\n\nFixed 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.\n\n### Workarounds\n\nNone. Upgrade to `code-review-mcp-server@1.5.3` or later.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "code-review-mcp-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9"
}, {
"type" : "WEB",
"url" : "https://github.com/Orcus2021/code-review-mcp-server/issues/56"
}, {
"type" : "WEB",
"url" : "https://github.com/Orcus2021/code-review-mcp-server/pull/57"
}, {
"type" : "WEB",
"url" : "https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Orcus2021/code-review-mcp-server"
}, {
"type" : "WEB",
"url" : "https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-16T22:09:06Z",
"nvd_published_at" : null
}
}