CVE-2025-66401

Source
https://cve.org/CVERecord?id=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
2026-03-14T12:44:34.217644Z
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66401.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "0.1.2"
            }
        ]
    }
]