Advisory Details

October 3rd, 2025

win-cli-mcp-server resolveCommandPath Command Injection Remote Code Execution Vulnerability

ZDI-25-930
ZDI-CAN-27787

CVE ID CVE-2025-11202
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS win-cli-mcp-server
AFFECTED PRODUCTS win-cli-mcp-server
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of win-cli-mcp-server. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the implementation of the resolveCommandPath method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account.

ADDITIONAL DETAILS win-cli-mcp-server has issued an update to correct this vulnerability. More details can be found at:
https://github.com/simon-ami/win-cli-mcp-server/commit/521b4a34190d03bde7d433d213c36357181a6d09
DISCLOSURE TIMELINE
  • 2025-08-07 - Vulnerability reported to vendor
  • 2025-10-03 - Coordinated public release of advisory
  • 2025-10-03 - Advisory Updated
CREDIT Peter Girnus (@gothburz) of Trend Research
BACK TO ADVISORIES