Incident database
PowerShell MCP: WinRM credentials exposed in command line
The winrm_exec tool in PowerShell MCP packages exposed WinRM usernames and plaintext passwords in PowerShell process command lines, accessible to local users and monitoring tools. The vulnerability was fixed in @imrrd/powershell-mcp 0.5.3 by moving credentials to stdin instead of argv.
Disclosed 30 November 2026 · Record updated 1 December 2026
Impact
WinRM credentials exposed in process command lines to local users and monitoring agents with process visibility or audit log access
Our coverage
VulnerabilitiesA flaw in the winrm_exec tool put plaintext credentials where any local user, EDR agent or audit log could read them, according to an advisory published on 30 November 2026.
1 Dec 2026
Sources
- github.comhttps://github.com/advisories/GHSA-mf4q-589h-8gwx