RCE in Kapilduraphe Mcp-Watch

CVE-2025-66401

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)

EPSS: 0.020 (79.2th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-66401?
CVE-2025-66401 is a critical-severity vulnerability in Kapilduraphe Mcp-Watch, classified under OS Command Injection. CVSS score: 9.8/10. Published 2025-12-01.
How severe is CVE-2025-66401?
Critical severity. CVSS v3 base score is 9.8 out of 10.