ZDI-CAN-27787: ZDI-25-930: win-cli-mcp-server resolveCommandPath Command Injection Remote Code Execution Vulnerability
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.
Other sources
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 ZDI has assigned a CVSS rating of 9.8. The following CVEs are assigned: CVE-2025-11202.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27787?
ZDI-CAN-27787 has a critical severity rating due to its potential for remote code execution without authentication.
How do I fix ZDI-CAN-27787?
To fix ZDI-CAN-27787, update the win-cli-mcp-server to the latest patched version that addresses this vulnerability.
Who is affected by ZDI-CAN-27787?
ZDI-CAN-27787 affects all installations of win-cli-mcp-server that have not applied the necessary security updates.
What type of vulnerability is ZDI-CAN-27787?
ZDI-CAN-27787 is a remote code execution vulnerability that allows attackers to execute arbitrary code.
Is authentication required to exploit ZDI-CAN-27787?
No, authentication is not required to exploit the ZDI-CAN-27787 vulnerability.