RCE in Kapilduraphe Mcp-Watch
CVE-2025-66401
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.022 · 83.0th percentile
- Published
- 2025-12-01
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.022, 83.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kapilduraphe Mcp-Watch — versions <= 0.1.2
- Kapilduraphe Mcp Watch