Actors
Malware
Campaigns
CVEs
Feed
Blog
Home
/
CVEs
/
CVE-2025-6514
CVE
CVE-2025-6514
View on NVD ↗
OS command injection in mcp-remote when connecting to untrusted MCP servers
MITRE ATT&CK TTPs
2
T1059.001
PowerShell
Execution
T1202
Indirect Command Execution
Defense Evasion
Source Articles
OpenCode Flaw Lets Malicious MCP Servers Execute Code During Sign-In on Windows and WSL
A critical vulnerability in OpenCode versions 1.0.137 through 1.18.32 allows a malicious or compromised MCP (Model Context Protocol) server to execute arbitrary code on a developer's Windows or WSL machine during sign-in. The flaw arises because OpenCode passes an untrusted OAuth authorization endpoint URL from the MCP server to a browser helper without proper escaping, leading to command injection via PowerShell on Windows. The vulnerability was fixed in version 1.18.33, but no CVE was assigned, and it remains unflagged by vulnerability scanners. Although no active exploitation has been observed, the risk persists for unpatched installations connected to untrusted MCP servers.
hacker-news
Oct 22, 2026