MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL
Affects mcp-watchSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 21 Nov 2026, 03:46 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmcp-watch | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid running MCP Watch with untrusted input URLs, especially in automated or hosted environments. Developers should implement input validation and sanitization to ensure that only valid Git URLs are accepted and that shell metacharacters are not passed to execSync. Until a fix is released, do not expose the scanner as a public service or use it in CI pipelines with untrusted inputs.
Description
MCP Watch contains a critical command injection vulnerability in the cloneRepo method of the MCPScanner class. The application executes a user-supplied GitHub URL directly via a shell command without sanitization, allowing attackers to inject arbitrary shell commands. This can lead to remote code execution (RCE) on the host running the scanner. The vulnerability affects versions up to 0.1.2. The impact is critical, with a CVSS score of 9.8, enabling full system compromise if exploited in hosted or CI environments.
References
- github.com/kapilduraphe/mcp-watch/security/advisories/GHSA-27m7-ffhq-jqrm (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-66401 (opens in a new tab)
- github.com/kapilduraphe/mcp-watch/commit/e7da78c5b4b960f8b66c254059ad9ebc544a91a6 (opens in a new tab)
- github.com/kapilduraphe/mcp-watch (opens in a new tab)