Skip to content
High 8.7

code-review-mcp-serverに任意のコマンドを実行される脆弱性

CVE-2026-68934 First seen on SecPulse

Summary

code-review-mcp-serverに、folderPathとbaseBranchの入力がシェルのコマンドに未処理で組み込まれる脆弱性が見つかりました。1.5.3より前のバージョンでは、細工された入力によりMCPサーバーを動かしているホストで任意のコマンドを実行される可能性があります。修正版は1.5.3で、該当する場合は1.5.3以降へ更新してください。CVSS v4.0のスコアは8.7です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

code-review-mcp-serverに、folderPathとbaseBranchの入力がシェルのコマンドに未処理で組み込まれる脆弱性が見つかりました。1.5.3より前のバージョンでは、細工された入力によりMCPサーバーを動かしているホストで任意のコマンドを実行される可能性があります。修正版は1.5.3で、該当する場合は1.5.3以降へ更新してください。CVSS v4.0のスコアは8.7です。

Affected packages

PackageAffected → Fixed
Orcus2021code-review-mcp-server —
npmcode-review-mcp-server
< 1.5.3→ 1.5.3
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details