www.pillar.security Critical RCE Flaw in Opencode via MCP OAuth Discovered
Article Content
- •Critical RCE vulnerability in opencode affects versions 1.0.137 to 1.18.32.
- •Attackers can exploit the flaw via a compromised MCP server during OAuth authentication.
- •A patch was released on September 28, 2026, but no CVE has been published.
Pillar Security identified a critical remote code execution (RCE) vulnerability in opencode, affecting versions 1.0.137 to 1.18.32 on Windows and Windows Subsystem for Linux (WSL). The flaw allows an attacker-controlled remote Model Context Protocol (MCP) server to execute arbitrary code during the OAuth authentication process without user consent. This vulnerability is significant as it exposes developer machines to remote code execution without requiring malicious software installation or prompt injection. The issue arises from a server-controlled OAuth field that improperly passes an untrusted URL into PowerShell. A patch (version 1.18.33) was released on September 28, 2026, addressing the flaw. Pillar proposed a CVSS score of 9.8, indicating critical severity, but no public CVE has been published. The research highlights that traditional protections, like URL scheme validation, are insufficient against this attack vector.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (3)
Common questions
Which versions of opencode are affected?
Is there a patch available?
What should developers do to protect themselves?
Continue Reading
Critical Zero-Day Exploited in BeyondTrust Remote Support by China-linked Group A critical vulnerability in BeyondTrust Remote Support, tracked as CVE-2026-102764 with a CVSS score of 9.3, has been exploited by the China-linked espionage group Armory Castle since August 29, 2026. This flaw allows unauthenticated remote attackers to perform file operations, gaining root control and access to…
Silent Lynx Targets CIS Governments via WinRAR Exploit The threat actor Silent Lynx has launched a series of attacks against government organizations in the Commonwealth of Independent States (CIS) from June 2025 to August 2026. These attacks exploit a vulnerability in WinRAR (CVE-2025-8088) to deploy reverse shells, including FoalShell and PickleShell, facilitating…