CVE-2026-137184: PowerShell MCP put WinRM usernames and plaintext passwords on the child process command line, where local users and telemetry could read them (fixed 0.5.3)
PowerShell MCP is an MCP server for headless Windows operations. Before 0.5.3, when explicit credentials were used, its winrm_exec tool built a script containing the caller-supplied WinRM username and plaintext password and passed it in the PowerShell child process's -Command argument. Local users or monitoring systems that can see process command lines or retained telemetry can recover the credentials. ssh_exec is not affected. Fixed in 0.5.3.
What it is
winrm_exec spawns a PowerShell child process to run commands on remote Windows hosts over WinRM.
With explicit credentials, the username and password were embedded in the -Command argument, which is visible in process listings and often recorded by EDR, Sysmon or other command-line logging.
Affected: powershell-mcp before 0.5.3. ssh_exec uses SSH in process and is not affected. CVE published 30 November 2026.
How to check
- Check your installed powershell-mcp version is 0.5.3 or later.
- Search process-creation logs (e.g. Sysmon event 1, Windows 4688 with command-line auditing) for winrm_exec commands containing credentials.
How to fix
- Upgrade powershell-mcp to 0.5.3 or later.
- Rotate any WinRM credentials used with winrm_exec on earlier versions, and purge them from retained logs where possible.
# find credentials leaked into retained command-line logs, e.g.
grep -ri 'winrm' /path/to/exported/process-logs | grep -i 'password' Sources
- criticalCVE-2026-115555 and 28 more: IBM's Langflow bulletin fixes 29 flaws up to 1.13.0, including 9.9 code execution, MCP tool calls that run custom code without admin rights and an unauthenticated public-flow RCE, upgrade to 1.13.1
- criticalCVE-2026-76092 and CVE-2026-76099: Docker MCP Gateway served its MCP endpoints with no auth in container mode, and its dynamic tools could mount the Docker socket for root on the host (fixed 0.43.1)
- criticalCVE-2026-142487: Joinly's meeting-agent MCP server let any network client import and run subprocess.Popen through the joinly-settings header (fixed 0.5.4)
- criticalCVE-2026-76812 and more: CKAN MCP Server's unauthenticated HTTP mode let anyone bounce sparql_query to the cloud metadata service and read IAM credentials, plus a string of SSRF, injection and DoS fixes (upgrade to 0.4.147)