nday
CVE-2026-68934 GHSA-jq3q-62jc-fqq9

code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters

Orcus2021 / code-review-mcp-server

Patched on the day of disclosure. Patched: fixed in code-review-mcp-server 1.5.3. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typecommand injection accessnetworkno user interaction ecosystemnpm
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-jq3q-62jc-fqq9
network
AV:N in 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 (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
npm
GHSA-jq3q-62jc-fqq9: npm packages code-review-mcp-server
stage
PAT
disclosed
disclosure → patch
T+0d
cvss
8.7 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-16T21:26Z
PATpatch
11-16T23:03Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.7, high.

src cvelist · nday , observed live · raw
{
  "id": 475758,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-68934",
  "occurred_at": "2026-11-16T21:26:05.951Z",
  "observed_at": "2026-11-16T22:03:37.089644Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 8.7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-16T21:40:07.137746Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-16T21:26:05.951Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version code-review-mcp-server 1.5.3. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-jq3q-62jc-fqq9 · nday , observed live · raw
{
  "id": 475790,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-jq3q-62jc-fqq9",
  "occurred_at": null,
  "observed_at": "2026-11-16T23:03:12.59201Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-jq3q-62jc-fqq9",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 8.7,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an OS Command",
        "cwe_id": "CWE-78"
      }
    ],
    "ghsa_id": "GHSA-jq3q-62jc-fqq9",
    "packages": [
      {
        "name": "code-review-mcp-server",
        "ecosystem": "npm",
        "first_patched_version": "1.5.3",
        "vulnerable_version_range": "< 1.5.3"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/Orcus2021/code-review-mcp-server/security/advisories/GHSA-jq3q-62jc-fqq9",
      "https://github.com/Orcus2021/code-review-mcp-server/issues/56",
      "https://github.com/Orcus2021/code-review-mcp-server/pull/57",
      "https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8",
      "https://github.com/Orcus2021/code-review-mcp-server/releases/tag/v1.5.3",
      "https://github.com/advisories/GHSA-jq3q-62jc-fqq9"
    ],
    "fix_commit_urls": [
      "https://github.com/Orcus2021/code-review-mcp-server/pull/57",
      "https://github.com/Orcus2021/code-review-mcp-server/commit/d11642322b607556affaaa3fd631d4f8942c05d8"
    ],
    "github_reviewed_at": "2026-11-16T22:09:06Z",
    "advisory_updated_at": "2026-11-16T22:09:07Z",
    "source_code_location": "https://github.com/Orcus2021/code-review-mcp-server",
    "advisory_published_at": "2026-11-16T22:09:06Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.