CVE-2026-68934: code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Published 2026-11-16 · Updated 2026-11-16 · Also known as GHSA-jq3q-62jc-fqq9
Summary
The code-review-mcp-server package contains a command injection vulnerability due to unsanitized input in multiple MCP tool parameters. Users running versions prior to 1.5.3 should update immediately to prevent arbitrary command execution on the host machine.
Who is affected
The vulnerability affects all deployments where the MCP server processes untrusted input in the folderPath or baseBranch parameters. By injecting shell metacharacters into these fields, an attacker can achieve arbitrary command execution via child_process.execSync(). This allows for full system compromise on the host running the server, as the shell command is executed directly.
Exploitability
The vulnerability is rated as High severity, with a CVSS 4.0 vector indicating network-based access with low attack complexity and no user interaction required. While the EPSS score of 0.004 suggests low current prevalence, the flaw is currently not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the code-review-mcp-server package to version 1.5.3 or later.
- Verify the installation of the patch, which replaces shell-based execSync calls with safer execFileSync alternatives that prevent command interpolation.
How to check your project
- Check the package.json file of the project to determine if code-review-mcp-server is listed as a dependency.
- Run 'npm list code-review-mcp-server' in the project terminal to verify the currently installed version number.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | code-review-mcp-server |
>= 0, < 1.5.3 | 1.5.3 | npm install [email protected] |
CVSS 4.0 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
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | Low |
| User interaction | None |
| Confidentiality (vulnerable system) | High |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | High |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What specifically caused this vulnerability?
The application used child_process.execSync() to pass unsanitized strings directly to /bin/sh, allowing attackers to inject additional shell commands.
Is there a workaround if I cannot upgrade immediately?
No workarounds have been documented; upgrading to version 1.5.3 or later is the only recommended resolution.
Does this flaw affect all tools within the server?
The flaw impacts tools accepting folderPath or baseBranch parameters, specifically getLocalGitDiff, codeReview, createPR, and getPRTemplate.
Original advisory description
References
- WEB https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9
- WEB https://github.com/Orcus2021/code-review-mcp-server/issues/56
- WEB https://github.com/Orcus2021/code-review-mcp-server/pull/57
- WEB https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8
- PACKAGE https://github.com/Orcus2021/code-review-mcp-server
- WEB https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3
Source records: GHSA-jq3q-62jc-fqq9 (OSV.dev) · EPSS by FIRST, 2026-11-26.