Vulnerability  ·  2026-12-01

PowerShell MCP winrm_exec leaks caller-supplied WinRM username/plaintext password in child process command line

VulnerabilityMedium impactGlobalCVE-2026-137184
Before 0.5.3 PowerShell MCP's winrm_exec tool embedded the caller-supplied WinRM username and plaintext password in the PowerShell child process -Command argument when explicit credentials were used. Anyone able to read the process command line on the host can recover the credentials (CVSS 7.8, local).
WinRM credentials are often the same privileged account used to administer Windows nodes that host model/agent workloads. Exposing them in a child-process command line gives a local actor reusable domain/administrative credentials, not just a one-time secret.
When explicit credentials are used, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the PowerShell child process's -Command argument, so local users/processes on the host can read it from the process command line (credential exposure).
IMRRD powershell-mcp < 0.5.3 (fixed in 0.5.3)
Upgrade to v0.5.3.
NVD CVE-2026-137184powershell-mcp commit 8ca5bb2d4cbd7acbb94da2a7a46cfb4078c938ff
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →