CVE-2026-22812
HighSummary
OpenCode, an open source AI coding agent, prior to version 1.0.216 automatically starts an unauthenticated HTTP server that allows any local process (or any website via permissive CORS) to execute arbitrary shell commands with the user's privileges. This vulnerability is fixed in version 1.0.216.
Risk Assessment
An attacker can remotely execute commands on the user's machine, leading to full compromise of the system and data.
Recommendation
It is recommended to immediately update OpenCode to version 1.0.216 or later.
Other vulnerabilities in OpenCode
Original NVD description (English source)
OpenCode is an open source AI coding agent. Prior to 1.0.216, OpenCode automatically starts an unauthenticated HTTP server that allows any local process (or any website via permissive CORS) to execute arbitrary shell commands with the user's privileges. This vulnerability is fixed in 1.0.216.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

