code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
CVE-2026-68934 · GHSA-jq3q-62jc-fqq9 · published 2026-11-16
- Severity
- High
- CVSS score
- 8.7
- Chance of exploitation (EPSS)
- 0.43%
- Fixed in
- 1.5.3
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
code-review-mcp-server exposes MCP tools (getLocalGitDiff, codeReview, createPR, getPRTemplate) that accept folderPath and baseBranch string parameters. These caller-controlled values were interpolated directly into shell command strings executed via childprocess.execSync(), which runs commands through /bin/sh.
Upgrade code-review-mcp-server to 1.5.3 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Fixed in 1.5.3. Every execSync() call was replaced with execFileSync() using argument arrays, so inputs are passed directly to git / gh without going through a shell, eliminating the injection at its root.
None. Upgrade to [email protected] or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| code-review-mcp-server | npm | < 1.5.3 | 1.5.3 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.