{"vuln_id":"CVE-2026-68934","aliases":["GHSA-jq3q-62jc-fqq9"],"description":"code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters","published_at":"2026-11-16T22:09:06Z","modified_at":"2026-11-16T22:18:25.070000Z","first_seen_at":"2026-11-21T19:15:20.238601Z","severity":"high","severity_source":"nvd","cvss_score":8.7,"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","cwe":["CWE-78"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00427,"epss_percentile":0.37744,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68934"},"matched_alias":null,"items":[{"id":6319,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-68934: code-review-mcp-server automates code review and can post comments directly on GitHub pull requests. Prior to 1.5.3, the getLocalGitDiff, codeReview, createPR,…","summary":"code-review-mcp-server automates code review and can post comments directly on GitHub pull requests. Prior to 1.5.3, the getLocalGitDiff, codeReview, createPR, and getPRTemplate MCP tools accept caller-controlled folderPath and baseBranch string parameters that are interpolated into command strings executed by child_process.execSync through /bin/sh. Shell metacharacters, command substitution, or quote-breaking input can therefore execute arbitrary commands with the privileges of the host process running the MCP server. This issue is fixed in version 1.5.3.\n\nReferences:\nhttps://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8\nhttps://github.com/Orcus2021/code-review-mcp-server/issues/56\nhttps://github.com/Orcus2021/code-review-mcp-server/pull/57\nhttps://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3\nhttps://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68934","published_at":"2026-11-16T22:18:25.070000Z","updated_at":"2026-11-16T22:18:25.070000Z","fetched_at":"2026-11-21T19:15:31.482092Z","severity":"high","cvss_score":8.7,"epss":0.00427,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-68934","vuln_ids":["CVE-2026-68934","GHSA-JQ3Q-62JC-FQQ9"],"tags":["CWE-78"],"cluster_id":2410,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/6319","html":"https://vulnwatch.ve1ve2.com/item/6319"}},{"id":2485,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-jq3q-62jc-fqq9 / CVE-2026-68934: code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters","summary":"code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters\n\n### 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;\n#\"` (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.\n\nAffected packages: npm:code-review-mcp-server\nPatched: code-review-mcp-server 1.5.3","url":"https://github.com/advisories/GHSA-jq3q-62jc-fqq9","published_at":"2026-11-16T22:09:06Z","updated_at":"2026-11-16T22:09:07Z","fetched_at":"2026-11-21T19:15:18.416874Z","severity":"high","cvss_score":8.7,"epss":0.00427,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"code-review-mcp-server","vuln_id":"CVE-2026-68934","vuln_ids":["CVE-2026-68934","GHSA-JQ3Q-62JC-FQQ9"],"tags":["ghsa","npm","CWE-78"],"cluster_id":2409,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2485","html":"https://vulnwatch.ve1ve2.com/item/2485"}}]}