GHSA-mf4q-589h-8gwx: PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
- Identifiers
- CVE-2026-137184GHSA-mf4q-589h-8gwx
- Published
- Record updated
- Affected
- powershell-mcp <= 0.3.2
- @imrrd/powershell-mcp <= 0.5.2, fixed in 0.5.3, released September 2, 2026, 89 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
The winrm_exec tool in @imrrd/powershell-mcp built a PowerShell script containing the caller-supplied WinRM username and plaintext password and passed it as the literal -Command argument. Local users, monitoring agents, process-creation audit logs, EDR, or SIEM tooling with access to process command lines could recover the credential. Exploitation requires explicit WinRM credentials plus local process-command-line or log visibility on the MCP host; ssh_exec is not affected.
Mitigation
Fixed in @imrrd/powershell-mcp 0.5.3, which keeps a fixed non-sensitive PowerShell bootstrap in argv and passes caller-controlled WinRM data through child stdin. The deprecated unscoped powershell-mcp package will not receive a patched release; remove it and install @imrrd/powershell-mcp@0.5.3 or later.
Topics
Related items
- HighCVE-2026-93329: Google Cloud Gemini Enterprise Agent Platform SSRF via /api-proxy endpointSimilar attack · NVD/CVE Database
- CriticalGHSA-f8rf-rcrx-h6r9: Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fixSimilar attack · GitHub Advisory Database
- HighGHSA-4jx9-2fwj-pg4j: mcp-ssh-manager: Command injection in database helpers (ssh_db_list / ssh_db_dump / ssh_db_import)Similar attack · GitHub Advisory Database
- HighCVE-2026-139989: Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to…Similar attack · NVD/CVE Database
- MediumCVE-2026-139818: vllm-project vLLM insufficient data authenticity check via uuid argumentSimilar attack · NVD/CVE Database