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.
Published: 2025-12-01
Score: 9.8 Critical
EPSS: 1.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

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

Fri, 06 Feb 2026 16:45:00 +0000

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

Tue, 02 Dec 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 02 Dec 2025 12:30:00 +0000

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

Mon, 01 Dec 2025 23:00:00 +0000

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'}


Subscriptions

Kapilduraphe Mcp Watch
Mcp-watch Project Mcp-watch
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-12-02T14:14:16.297Z

Reserved: 2025-11-28T23:33:56.364Z

Link: CVE-2025-66401

cve-icon Vulnrichment

Updated: 2025-12-02T14:14:11.992Z

cve-icon NVD

Status : Analyzed

Published: 2025-12-01T23:15:53.227

Modified: 2026-02-06T16:34:33.003

Link: CVE-2025-66401

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-12-02T12:15:17Z

Weaknesses