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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-214"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137184.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0.5.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "0.5.3"
},
{
"fixed": "0.5.3"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "8ca5bb2d4cbd7acbb94da2a7a46cfb4078c938ff"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.5.3",
"range": [
{
"fixed": "f98b121b4627483fe355d5e9bcc0bdb85b1a7b44"
}
],
"source": "REFERENCES_TAG"
}
]
}