{
  "id": "CVE-2025-66401",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66401",
  "published_at": "2025-12-01T22:43:26.639Z",
  "title": "MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL",
  "vendor": "kapilduraphe",
  "product": "mcp-watch",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "MCP Watch is a comprehensive security scanner for Model Context Protocol (MCP) servers. In 0.1.2 and earlier, the MCPScanner class contains a critical Command Injection vulnerability in the cloneRepo method. The application passes the user-supplied githubUrl argument directly to a system shell via execSync without sanitization. This allows an attacker to execute arbitrary commands on the host machine by appending shell metacharacters to the URL.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:kapilduraphe:mcp_watch:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "kapilduraphe",
        "product": "mcp-watch",
        "ranges": [
          "\u003c= 0.1.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "mcp-watch",
        "ranges": [
          "\u003c= 0.1.2"
        ],
        "fixed_in": null,
        "ecosystem": "npm",
        "advisory": "GHSA-27m7-ffhq-jqrm"
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/kapilduraphe/mcp-watch/security/advisories/GHSA-27m7-ffhq-jqrm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/kapilduraphe/mcp-watch/commit/e7da78c5b4b960f8b66c254059ad9ebc544a91a6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
