cvelo
P2 · HighCVSS 8.7EPSS 0.4%

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

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 versionsFixed in
    < 1.5.3none stated
  • code-review-mcp-servernpm

    Affected versionsFixed in
    before 1.5.31.5.3

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.