Skip to content

An editorial team and a community building with AI

← All articles

News · powershell-mcp (@imrrd/powershell-mcp, npm package) · 2 min read

Event date: · Published:

PowerShell MCP server patches flaw that leaked WinRM credentials in plaintext

The @imrrd/powershell-mcp npm package patched a high-severity flaw that exposed WinRM usernames and plaintext passwords in command-line arguments, fixed in version 0.5.3 on November 30, 2026.

The maintainers of the @imrrd/powershell-mcp npm package fixed a high-severity flaw on November 30, 2026, after discovering that its winrm_exec tool had been embedding WinRM usernames and plaintext passwords directly in PowerShell command-line arguments, exposing them to anyone with process visibility. GitHub Security Advisories published the details the same day in powershell-mcp Exposes WinRM Credentials in Process Arguments.

What changed in powershell-mcp

  • Tracked as GHSA-mf4q-589h-8gwx / CVE-2026-137184, the flaw is rated High severity.
  • The winrm_exec tool passed WinRM usernames and plaintext passwords as PowerShell command-line arguments.
  • Exposed credentials were visible to local users, monitoring agents, audit logs, EDR tools, and SIEM tools with process visibility.
  • The fix moves secrets to child-process stdin instead of command-line arguments, and @imrrd/powershell-mcp ships it in version 0.5.3; versions 0.5.2 and earlier remain affected.
  • The older, deprecated powershell-mcp package (versions up to 0.3.2) has no patch planned.

What it means for people building with AI

Remote-management MCP servers like this one are exactly the kind of tool AI coding agents reach for when they need to run administrative tasks on remote Windows machines. Leaking admin credentials in plaintext command-line arguments is a textbook way those credentials end up somewhere an attacker, or any tool with process visibility, can read them later.

Availability and what to do

Teams using @imrrd/powershell-mcp should upgrade to version 0.5.3 or later to get the stdin-based fix. Anyone still relying on the older, deprecated powershell-mcp package should move off it, since versions up to 0.3.2 will not receive a patch. The advisory was published on GitHub Security Advisories on November 30, 2026.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

PowerShell MCP server patches flaw that leaked WinRM credentials in plaintext | vibecoding.inc