PowerShell MCP is a Model Context Protocol server for headless Windows operations. Prior to 0.5.3, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the PowerShell child process's -Command argument when explicit credentials are used. Local users or monitoring systems with access to process command lines or retained telemetry can recover the credentials. ssh_exec is not affected because it uses SSH in process. This issue is fixed in 0.5.3.

Project Subscriptions

No data.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mf4q-589h-8gwx PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 30 Nov 2026 18:45:00 +0000

Type Values Removed Values Added
Description PowerShell MCP is a Model Context Protocol server for headless Windows operations. Prior to 0.5.3, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the PowerShell child process's -Command argument when explicit credentials are used. Local users or monitoring systems with access to process command lines or retained telemetry can recover the credentials. ssh_exec is not affected because it uses SSH in process. This issue is fixed in 0.5.3.
Title PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
Weaknesses CWE-214
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-30T18:30:16.713Z

Reserved: 2026-11-25T21:33:08.026Z

Link: CVE-2026-137184

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T19:17:55.640

Modified: 2026-11-30T19:17:55.640

Link: CVE-2026-137184

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses