High

PowerShell MCP leaks WinRM credentials in process command lines

An attacker with access to process command lines or retained telemetry can read the WinRM username and plaintext password passed to winrm_exec. With those credentials they can run PowerShell commands on the Windows host.

Product
powershell-mcp
Systems
macOSWindowsLinux
Fixed in
0.5.3
CVSS
7.8
Weakness
CWE-214
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 0.5.3. Check the version you have and update to 0.5.3 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
powershell-mcpother<0.5.30.5.3

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running PowerShell MCP on Windows, macOS or Linux with version below 0.5.3, when winrm_exec is used with explicit credentials.

Expected outcome after remediation

Report the installed PowerShell MCP version, whether it is below 0.5.3, whether it was updated or removed, and which credentials were rotated.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5315 and your operating system.