Read the docs

PowerShell MCP exposes WinRM credentials in process command line

Priority MEDIUM 49CWE-214Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

PowerShell MCP by IMRRD is affected before 0.5.3, as is the npm package @imrrd/powershell-mcp before 0.5.3, and the npm package powershell-mcp through 0.3.2. When explicit credentials are used, the winrm_exec tool places the caller-supplied WinRM username and plaintext password in the PowerShell child process command line (CWE-214). A local user or a monitoring system with access to process command lines or retained telemetry can recover those credentials. The ssh_exec tool is not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Fix Fixed powershell-mcp (IMRRD): 0.5.3@imrrd/powershell-mcp (npm): 0.5.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
IMRRDpowershell-mcpbefore 0.5.30.5.3Patch availableCNA
—@imrrd/powershell-mcp (npm)before 0.5.30.5.3Patch availableGHSA-mf4q-589h-8gwx
—powershell-mcp (npm)up to 0.3.2—No fix listedGHSA-mf4q-589h-8gwx
  • powershell-mcp VendorIMRRD Affected before 0.5.3 Fixed in 0.5.3 Patch available CNA
  • @imrrd/powershell-mcp (npm) Vendor— Affected before 0.5.3 Fixed in 0.5.3 Patch available GHSA-mf4q-589h-8gwx
  • powershell-mcp (npm) Vendor— Affected up to 0.3.2 Fixed in — No fix listed GHSA-mf4q-589h-8gwx

Remediation

Update IMRRD powershell-mcp and the npm package @imrrd/powershell-mcp to version 0.5.3. The sources list no fixed version for powershell-mcp.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA powershell-mcp (IMRRD) Fixed in 0.5.3
  • Fix · GHSA-mf4q-589h-8gwx @imrrd/powershell-mcp (npm) Fixed in 0.5.3 Advisory →

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-137184
  2. 2026-11-30 Alias added: GHSA-mf4q-589h-8gwx
  3. 2026-11-30 Fix available: npm/@imrrd/[email protected] · GHSA-mf4q-589h-8gwx
  4. 2026-11-30 CVSS score added · GHSA-mf4q-589h-8gwx
  5. 2026-11-30 Weakness changed · GHSA-mf4q-589h-8gwx
  6. 2026-11-30 4 new references · GHSA-mf4q-589h-8gwx

References

Sources