{"id":"CVE-2025-66401","revision":"3bb0264f064946dabe4dd5f3221930d8","records":[{"revision":"3bb0264f064946dabe4dd5f3221930d8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-66401","aliases":[],"title":"MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL","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.","state":0,"publishedAt":"2025-12-01T22:43:26.639+00:00","modifiedAt":"2025-12-02T14:14:16.297+00:00","affected":[{"ecosystem":"Vendor product","name":"mcp-watch","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"kapilduraphe\",\n                    \"product\": \"mcp-watch\",\n                    \"versions\": [\n                        {\n                            \"version\": \"<= 0.1.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/kapilduraphe/mcp-watch/security/advisories/GHSA-27m7-ffhq-jqrm","https://github.com/kapilduraphe/mcp-watch/commit/e7da78c5b4b960f8b66c254059ad9ebc544a91a6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-66401","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-66401","identifiers":["CVE-2025-66401"]},"retained":false,"historicalAffected":[]}],"coverage":[]}