PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 25, 2026
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.
| Product | Versions |
|---|---|
| powershell-mcp IMRRD | < 0.5.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | GitHub_M |
Weaknesses
- CWE-214 Invocation of Process Using Visible Sensitive Information
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.