CVE-2026-68934 PUBLISHED

code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters

Assigner: GitHub_M
Reserved: 31.07.2026 Published: 16.11.2026 Updated: 16.11.2026

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.

Metrics

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
CVSS Score: 8.7

Product Status

Vendor Orcus2021
Product code-review-mcp-server
Versions
  • Version < 1.5.3 is affected

References

Problem Types

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command CWE