CVE-2025-66401

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

Published Dec 1, 2025 CVSS 3.1 · 9.8 Critical EPSS 3.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-27m7-ffhq-jqrm MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL
History
Type Values Removed Values Added
First Time appeared Kapilduraphe
Kapilduraphe mcp Watch
CPEs cpe:2.3:a:kapilduraphe:mcp_watch:*:*:*:*:*:node.js:*:*
Vendors & Products Kapilduraphe
Kapilduraphe mcp Watch
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mcp-watch Project
Mcp-watch Project mcp-watch
Vendors & Products Mcp-watch Project
Mcp-watch Project mcp-watch
Type Values Removed Values Added
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.
Title MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 2, 2025, 2:14 PM
Reserved
Nov 28, 2025, 11:33 PM
Status
Analyzed
Published
Dec 1, 2025, 11:15 PM
Modified
Oct 18, 2026, 6:10 PM