A vulnerability in the @imrrd/powershell-mcp package prior to version 0.5.3 allows local users or monitoring tools with access to process command lines or logs to recover WinRM credentials in plaintext. The winrm_exec tool embeds the WinRM username and password directly in the PowerShell command line, exposing sensitive credentials. This issue is fixed in version 0.5.3 by changing the method of passing credentials to avoid inclusion in command line arguments.