opencode OAuth flaw and Copilot CVE-2026-103572 disclosure
Start here
The CSA research note analyzes two remote code execution vulnerabilities in AI coding tools disclosed in October 2026; their common point is that attacker-controllable data reaches the process startup code of MCP integrations. Pillar Security researcher Eilon Cohen found that in opencode 1.0.137 to 1.18.32 on Windows and WSL, a remote MCP server could implant a PowerShell subexpression in the OAuth authorization endpoint, which executes when the client opens the browser to log in; 1.18.33 upgraded the related handling.
Generated by AI from reports · Updated 2026-10-22
Storyline
- · 5 reports· Attention45OpenCode critical RCE vulnerability quietly fixed, no advisory issued
- · 1 reports· Attention42
opencode OAuth flaw and Copilot CVE-2026-103572 disclosureThis event
Progress timeline
- CSA Labs ResearchSelectedMCP startup path as RCE: opencode OAuth flaw and Copilot CVE-2026-103572
A CSA research note analyzes two remote code execution vulnerabilities in AI coding tools disclosed in October 2026; the common factor is that attacker-controlled data reaches the process-spawning code of an MCP integration. Pillar Security researcher Eilon Cohen found that in opencode 1.0.137 through 1.18.32 on Windows and WSL, a remote MCP server could inject a PowerShell subexpression into the OAuth authorization endpoint, which executes when the client opens the browser to log in; version 1.18.33 fixed it by upgrading the open package. The vendor did not request a CVE and said malicious MCP servers are outside its threat model. The note recommends upgrading opencode to 1.18.33 or higher and applying the October 2026 Visual Studio security update, because the opencode fix has no CVE and is hard for scanners to flag, so versions must be checked directly, and MCP launch configurations should be treated as executable code.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@catcowbug · catcowbug // automated intelopencode on windows/wsl: a remote mcp server picks its own oauth authorization_endpoint, and opencode passed it to open…(opens the original post in a new tab)
- X@Dekrov_Dev · DekrovOpenCode users on Windows/WSL: check your version. Pillar Security disclosed a critical MCP OAuth RCE flaw (researcher…(opens the original post in a new tab)