OpenCode Patch Fixes Critical Remote Execution Flaw
The update secures Windows environments against RCE attacks that bypass standard security scanning tools.
Updated on Oct. 21, 2026 in Software

Live Poll
Should software companies be required to issue public security advisories for every critical vulnerability patch?
Anomaly patched a remote code execution vulnerability in OpenCode on September 28, 2026, which affected versions 1.0.137 through 1.18.32. The security flaw, which carries a critical CVSS severity rating of 9.8, could allow remote model context protocol servers to execute arbitrary code on developer machines.
Why it matters
This vulnerability underscores the risks inherent in automated development tools that pass untrusted input directly to system shells. Because standard vulnerability scanners fail to detect this flaw, manual updates to the latest version are necessary to secure affected environments.
The vulnerability earned a CVSS critical severity rating of 9.8. This flaw stems from a failure to properly escape URLs before passing them to PowerShell.
The players
Anomaly
The maintainer of OpenCode, a popular development environment with 218,000 GitHub stars.
Pillar Security
A cybersecurity firm that specializes in identifying and responsibly disclosing vulnerabilities in developer tools.
The details
The vulnerability occurs because OpenCode failed to perform adequate URL scheme checks or dependency quoting. Malicious actors could embed payloads within legitimate HTTPS URLs to bypass validation, forcing the application to pass these strings directly to PowerShell. Developers are now encouraged to shift toward argument-based process execution to avoid the risks associated with raw shell command strings.
Timeline
August 2026: Pillar Security privately reported the vulnerability to OpenCode.
September 28, 2026: Anomaly released the version 1.18.33 patch.
October 19, 2026: Pillar Security disclosed the vulnerability to the public.
The Tech Race
This incident echoes the broader industry struggle seen during the 2021 Log4j vulnerability regarding secure dependency management. It highlights the recurring challenge of maintaining complex development environments that rely on high-velocity third-party code.
Developers running OpenCode on Windows or Windows Subsystem for Linux must update to version 1.18.33 or later immediately. Because traditional automated scanners do not detect this specific vulnerability, users should manually verify their version numbers to ensure they are protected.
The takeaway
The lack of standard scanner support for this vulnerability makes manual version checks a necessary step for security compliance. Users should prioritize updating to version 1.18.33 to eliminate the remote execution risk on Windows-based development machines.
Further reading
For more on development environment security, see our Software coverage.
Live Poll
Should software companies be required to issue public security advisories for every critical vulnerability patch?






