The maintainer advisory says winrm_exec embedded supplied WinRM credentials in a PowerShell command-line argument. A local observer or retained process telemetry could recover the password. This is exposure on the MCP host, not unauthenticated remote extraction and not a flaw in the model. ssh_exec uses a different in-process transport and is outside the…
Inspect the ClaimsCase · DiggingBeagle record
PowerShell MCP placed WinRM passwords in child-process arguments
The winrm_exec tool exposed explicit credentials in process arguments observable locally or through process telemetry; ssh_exec is unaffected.
Published by DiggingBeagle:
Explicit WinRM credential use in the affected package versions, with access to command-line or log data.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- not established
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Advisory and source diff establish the credential-handling defect and corrective mechanism. There is no observed theft or verified installed-package test. The scoped release is available according to the maintainer; legacy publication is not inferred from source changes. Impact remains unscored: the evidence describes conditional or study-specific effects, and this pack supplies no calibrated mapping from those effects to a numeric impact band. Evidence strength reflects the stated provenance and limitations, not the number of sources.
Assessed Dec 2, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-DEC02-POWERSHELL-ARGV-1 · CLM-DEC02-POWERSHELL-ARGV-2 · CLM-DEC02-POWERSHELL-ARGV-CVE-DATE · CLM-ENR299-POWERSHELL-STDIN · CLM-ENR299-POWERSHELL-LEGACY · PowerShell MCP WinRM credential exposure, GHSA-mf4q-589h-8gwx · CVE-2026-137184 CNA record · PowerShell MCP commit 8ca5bb2: move WinRM data from argv to stdin · IMRRD PowerShell MCP v0.5.3 release
At a glance
Secret handling must include subprocess arguments and telemetry, even when the agent-to-tool connection itself is authenticated.
Read the implicationsNo count of exposed credentials or observed victims is supplied.
Limits and uncertaintyFull account
The maintainer advisory says winrm_exec embedded supplied WinRM credentials in a PowerShell command-line argument. A local observer or retained process telemetry could recover the password. This is exposure on the MCP host, not unauthenticated remote extraction and not a flaw in the model. ssh_exec uses a different in-process transport and is outside the finding.
The scoped @imrrd/powershell-mcp package is fixed in 0.5.3 by moving sensitive input from arguments to standard input. The deprecated unscoped powershell-mcp line through 0.3.2 has no patched release; its users must migrate. Existing process logs may retain previously exposed credentials.
The repair removes one disclosure channel
The patch places a fixed bootstrap in process arguments and sends caller-controlled connection details through child stdin. This removes credentials from the argument string that process inspection and process-creation telemetry could capture. It does not imply that credentials never exist in process memory or that historic logs have been erased. Previously exposed credentials therefore require a separate exposure and rotation decision.
The commit also changes a compatibility-forwarder package to reference the fixed scoped line. That is source-tree evidence, not proof that a repaired legacy package was published. The advisory and v0.5.3 release still direct users to migrate to @imrrd/powershell-mcp. Keep the published migration instruction rather than converting a package.json change into an unsupported availability claim.
Mechanism and trust boundary
- 01
Explicit WinRM credentials enter a tool call
The affected WinRM path receives a username and plaintext password on the MCP host.
Boundary: caller credential -> local tool process
- 02
The child argument carries the secret
The old implementation embeds those values in the PowerShell command argument.
Boundary: tool input -> process metadata
- 03
An authorized observer of metadata can recover it
Local process visibility or retained process-creation telemetry exposes the credential; this case does not establish an observed theft.
Boundary: process metadata -> observer or retained log
Timeline
- Nov 30, 2026Event type unspecified
CVE record published
The maintainer advisory displays an earlier date; the publication chronology remains qualified.
Claims & evidence
CLM-DEC02-POWERSHELL-ARGV-1The winrm_exec tool exposed explicit credentials in process arguments observable locally or through process telemetry; ssh_exec is unaffected.supported
Basis: reported finding
- supportsPowerShell MCP WinRM credential exposure, GHSA-mf4q-589h-8gwxprimary disclosure
Description: first paragraph
CLM-DEC02-POWERSHELL-ARGV-2The scoped package is fixed in 0.5.3; the deprecated unscoped package has no patched release and the advisory recommends migration.supported
Basis: reported finding
- supportsPowerShell MCP WinRM credential exposure, GHSA-mf4q-589h-8gwxprimary disclosure
Affected versions; Patched versions; Description remediation
CLM-ENR299-POWERSHELL-STDINCommit 8ca5bb2 replaces the credential-bearing PowerShell argument with a fixed bootstrap and transports caller-controlled WinRM data through child stdin.supported
Basis: direct observation
- supportsPowerShell MCP commit 8ca5bb2: move WinRM data from argv to stdinpatch commit artifact
src/winrm.ts WINRM_BOOTSTRAP and runWinRm; src/powershell.ts stdin handling
CLM-ENR299-POWERSHELL-LEGACYThe patch tree updates a compatibility forwarder, but the v0.5.3 release instructs legacy users to migrate to the scoped package; the tree change alone does not establish a published patched legacy release.supported
Basis: inference
- supportsIMRRD PowerShell MCP v0.5.3 releasepatch commit artifact
Release security fix and migration note
- contextPowerShell MCP commit 8ca5bb2: move WinRM data from argv to stdinpatch commit artifact
compat/powershell-mcp/package.json dependency and version changes
CLM-DEC02-POWERSHELL-ARGV-CVE-DATEThe CNA record publishes CVE-2026-137184 on November 30, 2026; this is a CVE publication date, not proof of a new attack or first discovery.supported
Basis: reported finding
- supportsCVE-2026-137184 CNA recordprimary disclosure
cveMetadata.datePublished
Implications
Secret handling must include subprocess arguments and telemetry, even when the agent-to-tool connection itself is authenticated.
Controls and mitigations
- Migrate to @imrrd/powershell-mcp 0.5.3 or later per the maintainer guidance; verify which package the MCP launcher actually resolves.
- Assess retention and access to process telemetry from affected use, and rotate potentially exposed WinRM credentials. The transport change cannot revoke credentials already recorded.
Unknowns and contradictions
- No count of exposed credentials or observed victims is supplied.
Sources and citation
Material revision history
- Dec 2, 2026 · Published version · first publication · revision 300