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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | 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 |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Orcus2021 | code-review-mcp-server | < 1.5.3 [affected] |
References
- https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9 (x_refsource_CONFIRM)
- https://github.com/Orcus2021/code-review-mcp-server/issues/56 (x_refsource_MISC)
- https://github.com/Orcus2021/code-review-mcp-server/pull/57 (x_refsource_MISC)
- https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8 (x_refsource_MISC)
- https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 17 Nov 2026 08:04 UTC.