code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Orcus2021 | code-review-mcp-server | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Orcus2021 | Code-review-mcp-server |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jq3q-62jc-fqq9 | code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.427% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Orcus2021
Orcus2021 code-review-mcp-server |
|
| Vendors & Products |
Orcus2021
Orcus2021 code-review-mcp-server |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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
|