Case · 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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 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

  2. 02

    The child argument carries the secret

    The old implementation embeds those values in the PowerShell command argument.

    Boundary: tool input -> process metadata

  3. 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

  1. Nov 30, 2026
    Event 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

Link to claim
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

Link to claim
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

Link to claim
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

Link to claim
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

Link to claim

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

  1. Dec 2, 2026 · Published version · first publication · revision 300