CVE-2026-137184
HIGH 7.8CVSS 3.1PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
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.
- Published
- 30 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-214
- Also known as
- GHSA-mf4q-589h-8gwx
- Sources
- NVDJSONCVE ListJSONOSV GHSA-mf4q-589h-8gwxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | IMRRD | powershell-mcp | = < 0.5.3 | |
| OSV | npm | @imrrd/powershell-mcp | < 0.5.3 | 0.5.3 |
| OSV | npm | powershell-mcp | <= 0.3.2 |
References
- https://github.com/IMRRD/powershell-mcp/commit/8ca5bb2d4cbd7acbb94da2a7a46cfb4078c938ff · x_refsource_MISC, WEB
- https://github.com/IMRRD/powershell-mcp/releases/tag/v0.5.3 · x_refsource_MISC, WEB
- https://github.com/IMRRD/powershell-mcp/security/advisories/GHSA-mf4q-589h-8gwx · x_refsource_CONFIRM, WEB
- https://github.com/IMRRD/powershell-mcp · PACKAGE
History
- 3 Dec 2026 15:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 15:56 UTC · NVD: updated (other details)
- 30 Nov 2026 21:58 UTC · OSV: first stored (published 30 Nov 2026)
- 30 Nov 2026 19:41 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 18:36 UTC · CVE List: first stored (published 30 Nov 2026)