CVE-2026-137184
PowerShell MCP places explicit WinRM credentials in observable process arguments
IMRRD · powershell-mcp
First documented disclosure · Review checkpoint
Summary
The WinRM tool exposes supplied credentials to readers of child-process command lines and retained telemetry.
Severity and exploitation evidence
High · 7.8/10 · CVSS 3.1. Severity source.
Exploitation not established: The reviewed sources establish a reported weakness and maintainer correction, not malicious exploitation or identified victims. No target software, package, model or proof of concept was executed during this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
winrm_exec passed a script containing the username and plaintext password as the PowerShell -Command argument.
Conditions required
An operator supplies explicit WinRM credentials and an attacker or monitoring system can inspect process arguments or corresponding logs on the MCP host. The in-process SSH path is not affected.
Potential impact
Disclosure of the supplied WinRM credential; any later access depends on that credential’s permissions.
Affected versions and configurations
@imrrd/powershell-mcp through 0.5.2. The deprecated unscoped powershell-mcp package through 0.3.2 is also listed as affected.
Fix and mitigation status
Stable @imrrd/powershell-mcp 0.5.3, released September 2, retains a non-sensitive bootstrap in argv and sends caller data through stdin. No patched legacy unscoped release is planned.
Practical next steps
Remove the unscoped package, migrate to the corrected scoped package, and review or rotate credentials that may persist in process telemetry.
Operating lesson
Command-line arguments are an observable interface and should not carry credentials.
Evidence and limits
The package-specific GHSA is more precise than the CNA’s generic before-0.5.3 boundary. Remediation distinguishes migration from upgrading the abandoned package. Issuing CNA publication was 2026-11-30, distinct from the earliest verified public disclosure used here. Severity is GitHub_M CNA CVSS 3.1 High 7.8. Static review only; upstream tests were not repeated.
Sources
- Full package-specific advisory
Primary source ·
- Stable scoped-package release
Primary source ·
- Credential-transport correction
Primary source ·
- Issuing CNA record
Primary source ·