Skip to main content
CVE-2025-66401VulnerabilityPublished

MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL

Affects mcp-watchSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66401· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 21 Nov 2026, 03:46 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmmcp-watchAffected
  • <=0.1.2
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

Community reviews

Loading reviews…