PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line
Summary
| CVE | CVE-2026-137184 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 19:17:55 UTC |
| Updated | 2026-11-30 19:17:55 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.002770000 probability, percentile 0.215380000 (date 2026-12-01)
Problem Types: CWE-214 | CWE-214 CWE-214: Invocation of Process Using Visible Sensitive Information
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | IMRRD | Powershell-mcp | affected < 0.5.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/IMRRD/powershell-mcp/releases/tag/v0.5.3 | [email protected] | github.com | |
| github.com/IMRRD/powershell-mcp/commit/8ca5bb2d4cbd7acbb94da2a7a46cfb407... | [email protected] | github.com | |
| github.com/IMRRD/powershell-mcp/security/advisories/GHSA-mf4q-589h-8gwx | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.