CVE-2025-66401

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-66401
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66401.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66401
Aliases
Published
2025-12-01T22:43:26.639Z
Modified
2025-12-04T23:49:11.617245Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66401.json"
}
References

Affected packages

Git / github.com/kapilduraphe/mcp-watch

Affected ranges

Type
GIT
Repo
https://github.com/kapilduraphe/mcp-watch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed