Skip to content

powershell-mcp

PowerShell MCP: WinRM credentials exposed in spawned PowerShell command line

CVE-2026-137184GHSA-mf4q-589h-8gwxPublished 30 Nov 2026, 18:30 UTC

Real-world risk

4.3/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
powershell-mcpNiche< 0.5.30.5.3
@imrrd/powershell-mcpObscure<= 0.5.20.5.3
powershell-mcpObscure<= 0.3.2—

What to do

Update to a fixed version: 0.5.3.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 22), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
  4. Rounded to one decimal between 0.1 and 104.3

How the score works

Exploitation and evidence timeline

  1. 30 Nov 2026 Published
  2. 2 Dec 2026 Risk 4.3 (cvss fallback)

Weakness

CWE-214

References

Get alerts for powershell-mcp

Free email or text alerts when a vulnerability in powershell-mcp reaches risk 8 or higher. Nothing else.