CVE-2025-66401
BaseFortify
Publication date: 2025-12-01
Last updated on: 2026-02-06
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| kapilduraphe | mcp_watch | to 0.1.2 (exc) |
| mcp_watch | mcp_scanner | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a critical Command Injection flaw in the MCPScanner class of MCP Watch version 0.1.2 and earlier. The cloneRepo method takes a user-supplied githubUrl argument and passes it directly to a system shell using execSync without sanitizing the input. This allows an attacker to append shell metacharacters to the URL and execute arbitrary commands on the host machine.
How can this vulnerability impact me? :
An attacker exploiting this vulnerability can execute arbitrary commands on the host machine running MCP Watch. This can lead to full system compromise, including unauthorized access, data theft, data modification, or denial of service.