code-review-mcp-server command injection via folderPath and baseBranch (CVE-2026-68934)
Summary
Per the vendor advisory, code-review-mcp-server versions before 1.5.3 interpolate folderPath and baseBranch values into shell commands, which can result in arbitrary command execution on the host running the MCP server. Version 1.5.3 is the patched release, and the advisory states there are no workarounds. The repository advisory is dated Jul 6, 2026, while the GitHub advisory database entry carrying CVE-2026-68934 is dated Nov 16, 2026.
Severity
Timeline
The issue is reported to the maintainer in issue #56 on the project repository.
The maintainer closes the issue as fixed; the fix is released in v1.5.3.
The repository security advisory GHSA-jq3q-62jc-fqq9 is published.
The advisory is published in the GitHub advisory database with CVE-2026-68934. (per the vendor advisory)
How it happened
Per the vendor advisory, the MCP tools getLocalGitDiff, codeReview, createPR and getPRTemplate accept folderPath and baseBranch strings. These values were interpolated into shell command strings run through child_process.execSync(), which uses /bin/sh. A crafted value, such as a baseBranch containing a semicolon-separated command or a $(...) substitution, or a folderPath that breaks out of the surrounding quotes, results in arbitrary command execution on the host running the MCP server. Version 1.5.3 replaces every execSync() call with execFileSync() using argument arrays.
How to check your app
- all versions: Check whether the installed code-review-mcp-server package is older than 1.5.3.
- < 1.5.3: Treat any host running the MCP server at such a version as affected, since the tools take folderPath and baseBranch from the caller.
Sources
Corrections and updates
Cite this entry
- Title
- code-review-mcp-server command injection via folderPath and baseBranch (CVE-2026-68934)
- Added
- Nov 20, 2026
- URL
- https://vibeincidents.com/incidents/code-review-mcp-server-cve-2026-68934/
- Suggested citation
VibeIncidents. "code-review-mcp-server command injection via folderPath and baseBranch (CVE-2026-68934)." Nov 20, 2026. https://vibeincidents.com/incidents/code-review-mcp-server-cve-2026-68934/