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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jq3q-62jc-fqq9 code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Nov 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-16T21:40:19.235Z

Reserved: 2026-07-31T21:49:24.927Z

Link: CVE-2026-68934

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-16T22:18:25.070

Modified: 2026-11-16T22:18:25.070

Link: CVE-2026-68934

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-16T22:30:21Z

Weaknesses