freenode

← CVE tracker

CVE-2026-137184

PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line

Severity
high CVSS 7.8 (v3.1)
Affects
powershell-mcp · IMRRD
Weakness
CWE-214: Invocation of Process Using Visible Sensitive Information
Published
30 November 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.