← back
CVE-2026-22812highCWE-306CWE-749CWE-942

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

41Vexday Risk Score

Patch soon. It has a working public exploit.

ssvc Attendcvss 8.8epss 17%
exploitation probability
17%top 3% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
anomalyco · opencode