cvelo
P2 · HighCVSS 7.8EPSS 0.3%

PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line

  • CVE-2026-137184
  • GHSA-mf4q-589h-8gwx
  • EUVD-2026-139633

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.

Text from the CVE.org record.

Affected

  • IMRRD powershell-mcp

    • < 0.5.3
  • @imrrd/powershell-mcpnpm

    • all versions, up to 0.5.2
  • powershell-mcpnpm

    • all versions, up to 0.3.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.