{"id":"CVE-2026-68934","state":"PUBLISHED","title":"code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters","description":"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.","publishedAt":"2026-11-16T21:26:05.951Z","updatedAt":"2026-11-16T21:40:19.235Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["Orcus2021 code-review-mcp-server"],"affected":[{"vendor":"Orcus2021","product":"code-review-mcp-server","versions":[{"version":"< 1.5.3","status":"affected"}]}],"references":["https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9","https://github.com/Orcus2021/code-review-mcp-server/issues/56","https://github.com/Orcus2021/code-review-mcp-server/pull/57","https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8","https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3"],"weaknesses":["CWE-78"],"ingestedAt":"2026-11-16T21:46:06.068Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68934.json","commit":"5e198cbe905d33b845c31d5bc39d8290ba1ab9cd","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68934","state":"PUBLISHED","datePublished":"2026-11-16T21:26:05.951Z","dateUpdated":"2026-11-16T21:40:19.235Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-31T21:49:24.927Z"},"containers":{"cna":{"title":"code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Orcus2021","product":"code-review-mcp-server","versions":[{"version":"< 1.5.3","status":"affected"}]}],"references":[{"url":"https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9","name":"https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Orcus2021/code-review-mcp-server/issues/56","name":"https://github.com/Orcus2021/code-review-mcp-server/issues/56","tags":["x_refsource_MISC"]},{"url":"https://github.com/Orcus2021/code-review-mcp-server/pull/57","name":"https://github.com/Orcus2021/code-review-mcp-server/pull/57","tags":["x_refsource_MISC"]},{"url":"https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8","name":"https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8","tags":["x_refsource_MISC"]},{"url":"https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3","name":"https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-16T21:26:05.951Z"},"source":{"advisory":"GHSA-jq3q-62jc-fqq9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T21:40:07.137746Z","id":"CVE-2026-68934","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-16T21:40:19.235Z"}}]}}}