Skip to main content

PowerShell MCP CVE-2026-137184

| EUVDEUVD-2026-139633 HIGH
Invocation of Process Using Visible Sensitive Information (CWE-214)
2026-11-30 security-advisories@github.com GHSA-mf4q-589h-8gwx
7.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local or monitoring/telemetry access to MCP host
  2. Exploit
    winrm_exec invoked with explicit WinRM credentials
  3. Execution
    Read child PowerShell process command line or retained logs
  4. Impact
    Recover plaintext WinRM username and password

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires three concrete conditions, all stated by the advisory: (1) the winrm_exec tool is used with EXPLICIT WinRM credentials (a username and plaintext password passed to the tool) - default/integrated authentication paths and the ssh_exec tool are not affected because ssh_exec uses ssh2 in-process; (2) the affected version is deployed (@imrrd/powershell-mcp <= 0.5.2 or unscoped powershell-mcp <= 0.3.2); and (3) the attacker or observer has local process-command-line visibility or access to retained process-creation telemetry on the MCP host (a local user, privileged monitoring agent, EDR, SIEM, or audit log). Limiting factors: no remote network vector, credentials are only exposed when explicit credentials are actually used, and an observer must already have local or log/telemetry access to the MCP host - so environments relying on ssh_exec, or never passing explicit WinRM passwords, are not exposed.

Impact

This is a credential-disclosure flaw (CWE-214) in the winrm_exec tool: when explicit WinRM credentials are supplied, the plaintext username and password are embedded in the PowerShell child process's -Command argument, where they are visible to local users and to process-command-line-aware tooling (EDR, SIEM, process-creation audit logs, monitoring agents) both live and in retained telemetry. The provided CVSS vector (AV:L/AC:L/PR:L/UI:N) correctly models this as a local, low-privilege, no-interaction issue, and the 7.8 score reflects the claimed C:H/I:H/A:H. However, the I:H and A:H ratings appear inflated for the vulnerability itself: the defect leaks information and does not directly modify or deny service on the vulnerable component - integrity/availability impact only materializes downstream if the recovered WinRM credentials are reused, which is a secondary effect rather than a direct property of this flaw. No EPSS score, KEV listing, or exploit code is present in the input, and the vuln.today decision label is 'this_week' (not act_now/emergency). Net real-world risk is moderate and conditional: it is a genuine credential-leak priority in environments that use explicit WinRM credentials with this server and have local/telemetry visibility, but it is not a remotely exploitable, mass-scannable issue. Treat it as a this-week remediation, not a drop-everything emergency.

Exploit ScenarioDerived

On a host running PowerShell MCP (<= 0.5.2 of @imrrd/powershell-mcp, or <= 0.3.2 of the unscoped powershell-mcp), an operator invokes winrm_exec with explicit WinRM credentials. A local low-privileged user, or a monitoring/EDR/SIEM agent that records process command lines, observes the spawned PowerShell process whose -Command argument contains the plaintext username and password, or later recovers them from retained process-creation telemetry. No public exploit code is identified at time of analysis; exploitation requires only reading process metadata and no special tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Plaintext WinRM usernames and passwords leak into the PowerShell child process command line when the winrm_exec tool is called with explicit credentials in @imrrd/powershell-mcp through 0.5.2 (and the deprecated unscoped powershell-mcp through 0.3.2), where local users and command-line-aware telemetry such as EDR, SIEM, process-creation audit logs or monitoring agents can read them - both while the child runs and from retained records afterwards. The exposure is limited to confidentiality: an observer gains working WinRM credentials but does not modify the MCP host through this flaw, and only deployments that actually pass an explicit username and password are affected, since ssh_exec uses ssh2 in-process and is unaffected. Vendor-released patch: 0.5.3, which keeps a fixed non-sensitive bootstrap in argv and ships all caller-supplied WinRM data over child stdin; no public exploit identified at time of analysis, and the issue is rated this_week rather than emergency.

RemediationAI

Vendor-released patch: upgrade to @imrrd/powershell-mcp 0.5.3 or later (https://github.com/IMRRD/powershell-mcp/releases/tag/v0.5.3, advisory https://github.com/IMRRD/powershell-mcp/security/advisories/GHSA-mf4q-589h-8gwx), which fixes the leak by keeping a constant bootstrap in argv and delivering the WinRM payload over child stdin. Uninstall the deprecated unscoped powershell-mcp package and replace it with the scoped one at 0.5.3+, since no patched legacy release is planned for the old name - the 0.3.3 compatibility package merely forwards to ^0.5.3 and should not be relied on as a standalone installation. Where upgrading must wait, stop passing explicit WinRM usernames and passwords to winrm_exec and rely on non-explicit authentication paths, or route the operation through ssh_exec (ssh2 in-process, unaffected), accepting the loss of WinRM-specific transport and authentication options; note that any credential already passed under 0.5.2 may persist in process-creation logs and EDR/SIEM telemetry, so rotate the affected WinRM accounts rather than assuming the exposure ends at upgrade.

Affected VersionsENISA

powershell-mcp < 0.5.3

Affected Packages

npm @imrrd/powershell-mcp fix: 0.5.3
npm powershell-mcp fix: 0.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PowerShell MCP is a Model Context Protocol server exposing headless Windows operations as tools; the winrm_exec tool previously built a PowerShell script string containing the caller's WinRM computer name, username and plaintext password and passed that whole string as the literal value of the child process's -Command argument through the runPowerShell helper. Any process-command-line reader - a local user running process enumeration, a privileged monitoring agent, EDR/SIEM ingestion, or Windows process-creation audit records - could recover the credential material while the child lived or from logs kept afterwards, which is the CWE-214 class of sensitive information inserted into process-visible metadata. The 0.5.3 fix moves to stdin transport: runPowerShell gains an optional stdin field and opens a pipe for it instead of 'ignore', and winrm.ts introduces a constant WINRM_BOOTSTRAP script that reads [Console]::In, base64-decodes a JSON payload, rebuilds the credential with ConvertTo-SecureString/[PSCredential], nulls the plaintext variables, and calls Invoke-Command; because the argv is now fixed and non-sensitive, credentials no longer enter process metadata or environment variables. ssh_exec is unaffected because it drives ssh2 in-process rather than spawning a PowerShell child with arguments.

Know when npm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.5 MEDIUM

Local visibility of process command lines (AV:L, PR:L, AC:L) discloses credentials (C:H), but the flaw itself alters nothing on the host, so I:N and A:N.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 20:05 EUVD
CVE Published
Nov 30, 2026 - 19:17 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on @imrrd/powershell-mcp (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.5.3.

Technical POC Analysis

CWE-214: Invocation of Process Using Visible Sensitive Information.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-137184 in @imrrd/powershell-mcp through 0.5.2 and unscoped powershell-mcp through 0.3.2 exposes plaintext WinRM credentials on the command line of spawned PowerShell processes. Any local user or EDR/SIEM/process-audit telemetry can capture these credentials from live processes or retained logs, enabling lateral movement to Windows hosts with the compromised accounts. Leadership should care because credential exposure can lead to unauthorized access to critical systems, especially in environments with weak credential hygiene.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Rare
niche independent npm MCP server, minimal production footprint
Threat Intel
1
1 source
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in npm

View all
CVE-2021-43616 CRITICAL POC
9.8 Nov 13

The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in pack

CVE-2026-61568 CRITICAL POC
9.6 Sep 15

DNS rebinding against the local Streamable HTTP MCP listener in @zereight/mcp-gitlab before 2.1.30 lets a malicious web

CVE-2026-101894 CRITICAL POC
9.1 Sep 28

Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to reso

CVE-2026-91127 HIGH POC
8.2 Sep 18

The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character e

CVE-2026-102826 HIGH POC
8.1 Sep 29

Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command

CVE-2026-102281 HIGH POC
7.5 Sep 28

A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras

CVE-2026-102278 HIGH POC
7.5 Sep 28

Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a

CVE-2026-102276 HIGH POC
7.5 Sep 28

Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a craf

CVE-2026-73864 HIGH POC
7.5 Nov 18

Native-code execution at install time is achievable against npm consumers of install-artifact-from-github through 1.6.0

CVE-2026-116580 HIGH POC
7.3 Oct 26

Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and

CVE-2026-101910 MEDIUM POC
6.9 Sep 28

The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat

CVE-2026-101912 MEDIUM POC
6.3 Sep 28

Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy