Threat
Post by Eilon Cohen
Publication date unknown · Discovered linkedin.com
Page published
Publication date unknown · First observed: 18 Nov 2026
Coverage timeline
Single-source research — one report is available.
Why it matters
The opencode vulnerability allows an untrusted MCP server to turn an automatic OAuth authorization step into code execution on a developer's machine, independently of the agent's prompt-injection defenses.
Pillar Security researcher Eilon Cohen reported remote code execution in the opencode coding agent, affecting versions 1.0.137 through 1.18.32 on Windows and WSL. A remote MCP server's OAuth authorization URL passed through the `open` package into a PowerShell string, enabling server-controlled code execution during authorization without prompt injection or further user interaction.