PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
CVE-2026-137184GHSA-mf4q-589h-8gwxPublished 30 Nov 2026, 18:30 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| powershell-mcpNiche | < 0.5.3 | 0.5.3 |
| @imrrd/powershell-mcpObscure | <= 0.5.2 | 0.5.3 |
| powershell-mcpObscure | <= 0.3.2 | — |
What to do
Update to a fixed version: 0.5.3.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 22), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 2 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-214
References
- https://github.com/IMRRD/powershell-mcp/security/advisories/GHSA-mf4q-589h-8gwxvendor-advisory
- https://github.com/IMRRD/powershell-mcp/commit/8ca5bb2d4cbd7acbb94da2a7a46cfb4078c938ffmisc
- https://github.com/IMRRD/powershell-mcp/releases/tag/v0.5.3misc
- https://github.com/advisories/GHSA-mf4q-589h-8gwx
- CVE-2026-137184 on CVE.org