{"id":"CVE-2025-66401","published":"2025-12-01T22:43:26Z","modified":"2025-12-02T14:14:16Z","title":"MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL","vendor":"kapilduraphe","product":"mcp-watch","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03685,"percentile":0.90456,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/kapilduraphe/mcp-watch/security/advisories/GHSA-27m7-ffhq-jqrm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kapilduraphe/mcp-watch/commit/e7da78c5b4b960f8b66c254059ad9ebc544a91a6","tags":["x_refsource_MISC"]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":18.09},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"kapilduraphe","affectedVersions":[{"vendor":"kapilduraphe","product":"mcp-watch","versions":["<= 0.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-12-02T14:14:06.301237Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mcp-watch","vulnerableRanges":["<=0.1.2"],"patched":[],"from":["GHSA-27m7-ffhq-jqrm"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-200116","exploited":false,"provenance":"source"}}