CVE-2026-22812Published Jan 12, 2026 · Jan 12Updated Oct 28
OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution
anomalyco opencode
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| opencode-ai npm |
|
|
Original description
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.
From the CVE record · GitHub_M