OpenCode Vulnerability Allows Malicious MCP Servers to Execute Code During Sign-In
Flaw in Anomaly's OpenCode AI agent enables arbitrary code execution on Windows and WSL workstations

Key Takeaways
- A vulnerability in OpenCode allowed malicious MCP servers to execute code during sign-in on Windows and WSL.
- The executed code ran with the developer's own access rights, posing a risk of full system compromise.
- The flaw has been fixed in OpenCode version 1.18.33.
- Users should update to the patched version to mitigate the risk.
Related Security News

Node.js Bundled Brotli Decoder Flaw Patched Across Three Supported Release Lines
The Node.js project released security updates on October 21, 2026, patching 10 vulnerabilities across its three supported release lines. The most serious flaw is a bug in the bundled Brotli decompression code that could allow remote code execution. Affected users are urged to update to the fixed versions for their respective release lines.



