CVE-2026-137184
The winrm_exec tool constructed a PowerShell script containing the caller-supplied WinRM username and plaintext password, then passed that full script as the literal value of the PowerShell -Command process argument. Local users, privileged monitoring agents, process-creation audit logs, EDR, or SIEM tooling with access to process command lines could recover the credential while the child ran or from retained telemetry. Exploitation requires use of explicit WinRM credentials plus local process-command-line or log visibility on the MCP host. ssh_exec is not affected because it uses ssh2 in-process. The issue is fixed in @imrrd/powershell-mcp 0.5.3 by keeping a fixed non-sensitive PowerShell bootstrap in argv and transporting all caller-controlled WinRM data through child stdin. The deprecated unscoped powershell-mcp package will not receive a patched legacy release; remove it and install @imrrd/[email protected] or later. Reported responsibly by Syed Anas Mohiuddin, Independent Researcher, Maintainer of mcp-safeguard (@SyedAnas01).
Properties
- Severity
- high
- Summary
- PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
- Nvd fetched at
- 2026-12-01T02:29:07.656933+00:00
- Cvss severity
- HIGH
- Cvss score
- 7.8
- Retrieved at
- 2026-12-01T02:29:52+00:00
- Ghsa published
- 2026-11-30T20:47:44Z
- Source url
- https://github.com/advisories/GHSA-mf4q-589h-8gwx
- Ghsa updated
- 2026-11-30T20:47:45Z
- Ghsa id
- GHSA-mf4q-589h-8gwx
- Last source
- GitHub Advisory Database
- Score
- 7.8
- Cvss version
- 3.1
- Cve id
- CVE-2026-137184
- Cvss vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- First seen by Signal
- 2026-11-30T22:28:40+00:00
- Name
- CVE-2026-137184
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published at
- 2026-11-30T19:17:55.640
Related Entities (5)
AFFECTS (2)
VULNERABLE_TO (2)
HAS_WEAKNESS (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph