code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
- CVE-2026-68934
- GHSA-jq3q-62jc-fqq9
- EUVD-2026-126705
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.
Text from the CVE.org record.
Recommendation
code-review-mcp-server
- If you run a version before 1.5.3update to 1.5.3 or latercode-review-mcp-server 1.5.3 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Orcus2021 code-review-mcp-server
Affected versions Fixed in < 1.5.3 none stated code-review-mcp-servernpm
Affected versions Fixed in before 1.5.3 1.5.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.