Description
PowerShell MCP is a Model Context Protocol server for headless Windows operations. Prior to 0.5.3, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the PowerShell child process's -Command argument when explicit credentials are used. Local users or monitoring systems with access to process command lines or retained telemetry can recover the credentials. ssh_exec is not affected because it uses SSH in process. This issue is fixed in 0.5.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| IMRRD | powershell-mcp | < 0.5.3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @imrrd/powershell-mcp | < 0.5.3 | 0.5.3 | GHSA-mf4q-589h-8gwx |
| npm | powershell-mcp | <= 0.3.2 | — | GHSA-mf4q-589h-8gwx |