CVE-2026-137184
PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
Also known as GHSA-mf4q-589h-8gwx
AI summary AI generated
An attacker with local access or access to process telemetry can recover plaintext WinRM credentials from the PowerShell command line spawned by the powershell-mcp server's winrm_exec tool.
Mitigation
- Upgrade @imrrd/powershell-mcp to 0.5.3 or later.
Who should check
- Projects that depend on npm package @imrrd/powershell-mcp (<= 0.5.2)
- Projects that depend on npm package powershell-mcp (<= 0.3.2)
- Anyone running IMRRD powershell-mcp < 0.5.3
Vulnerability facts
- Affected
- @imrrd/powershell-mcp <= 0.5.2; powershell-mcp <= 0.3.2
- Fixed in
- 0.5.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- CWE
- CWE-214
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @imrrd/powershell-mcp | <= 0.5.2 | 0.5.3 | ghsa |
| npm powershell-mcp | <= 0.3.2 | — | ghsa |
| IMRRD powershell-mcp | < 0.5.3 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: powershell-mcp 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 a
Prior to 0.5.3
- Fixed: powershell-mcp 0.5.3
This issue is fixed in 0.5.3.
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-137184. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-137184.md Affected: @imrrd/powershell-mcp <= 0.5.2; powershell-mcp <= 0.3.2 Fixed in: 0.5.3 Steps: 1. Search this machine and project for @imrrd/powershell-mcp (npm), powershell-mcp (npm), IMRRD powershell-mcp: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-137184 being exploited?
There is no confirmed exploitation: CVE-2026-137184 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-137184?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-137184?
@imrrd/powershell-mcp <= 0.5.2; powershell-mcp <= 0.3.2.
Is there a fix for CVE-2026-137184?
Yes. Fixed in 0.5.3. Upgrade @imrrd/powershell-mcp to 0.5.3 or later.
How do I check if I'm affected by CVE-2026-137184?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More MCP servers and SDKs vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| CRITICAL 9.3 | CVE-2026-137189 Jupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fix | MCP servers and SDKs+2 | ||
| MEDIUM 6.1 | CVE-2026-137188 PinePaper MCP: Server-side request forgery in URL fetching | MCP servers and SDKs+1 | ||
| MEDIUM 5.4 | CVE-2026-137187 @zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project ID | GitLab+2 | ||
| HIGH 8.7 | CVE-2026-137186 pluggedin-app: OS command injection via MCP server args | MCP servers and SDKs+1 | ||
| HIGH 7.5 | CVE-2026-102735 mcp-server-kubernetes: Missing DNS Rebinding Protection in SSE Transport Leads to Unauthenticated Remote Cluster Compromise | Kubernetes+1 |