# CVE-2026-137184: PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **CWE:** CWE-214
- **Aliases:** GHSA-mf4q-589h-8gwx
- **Published:** 2026-11-30T18:30:16.713Z
- **Modified:** 2026-11-30T20:47:45.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** 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.

## 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

## 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

- npm `@imrrd/powershell-mcp`: affected \<= 0.5.2; fixed 0.5.3 (ghsa)
- npm `powershell-mcp`: affected \<= 0.3.2; fixed no fix listed yet (ghsa)
- IMRRD powershell-mcp: \< 0.5.3 (cvelist)

## Technologies

MCP servers and SDKs, Node.js (AI-matched), npm packages

## Mitigation

- Upgrade @imrrd/powershell-mcp to 0.5.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/IMRRD/powershell-mcp/security/advisories/GHSA-mf4q-589h-8gwx>
- patch: <https://github.com/IMRRD/powershell-mcp/commit/8ca5bb2d4cbd7acbb94da2a7a46cfb4078c938ff>
- other: <https://github.com/IMRRD/powershell-mcp/releases/tag/v0.5.3>
- other: <https://github.com/advisories/GHSA-mf4q-589h-8gwx>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137184>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-mf4q-589h-8gwx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-137184> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137184>
