Skip to content
OpenAdvisories
High · 7.8 CVE-2026-137184 EUVD-2026-139633GHSA-mf4q-589h-8gwx

PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line

Published Nov 30, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
IMRRD powershell-mcp < 0.5.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @imrrd/powershell-mcp < 0.5.3 0.5.3 GHSA-mf4q-589h-8gwx
npm powershell-mcp <= 0.3.2 — GHSA-mf4q-589h-8gwx

References