CVE-2026-68934 code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Orcus2021
code-review-mcp-server
영향 받는 버전
- 1.5.3 미만
해결 버전
- 1.5.3 이상
참고 자료 5건
- github.com https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8 (새 창)
- github.com https://github.com/Orcus2021/code-review-mcp-server/issues/56 (새 창)
- github.com https://github.com/Orcus2021/code-review-mcp-server/pull/57 (새 창)
- github.com https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3 (새 창)
- github.com https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9 (새 창)