# CVE-2025-66401: MCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URL

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-01T22:43:26.639Z
- Modified: 2026-10-18T18:10:00.100Z
- Also known as: GHSA-27m7-ffhq-jqrm
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kapilduraphe mcp-watch: <= 0.1.2
- mcp-watch (npm): up to 0.1.2
- kapilduraphe mcp_watch: up to 0.1.2

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/kapilduraphe/mcp-watch/security/advisories/GHSA-27m7-ffhq-jqrm> (exploit, vendor-advisory, web)
- <https://github.com/kapilduraphe/mcp-watch/commit/e7da78c5b4b960f8b66c254059ad9ebc544a91a6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66401> (advisory)
- <https://github.com/kapilduraphe/mcp-watch> (package)

## Sources

- CVE List: [CVE-2025-66401](https://www.cve.org/CVERecord?id=CVE-2025-66401), CVE Terms of Use, modified 2025-12-02
- GitHub Advisory Database: [GHSA-27m7-ffhq-jqrm](https://github.com/advisories/GHSA-27m7-ffhq-jqrm), CC-BY-4.0, modified 2025-12-02
- NVD: [CVE-2025-66401](https://nvd.nist.gov/vuln/detail/CVE-2025-66401), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66401 · Whole record: https://cve.day/CVE-2025-66401.json · Rebuilt by cve.day 2026-11-25T22:59:08.151Z
