← back
CVE-2026-22812

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

CVSS 8.8 HIGHEPSS 17.0%CWE-306CWE-749CWE-942
Vexday Risk Score
41Attention
SSVC decision (CISA)
Attend
PoC available → attend closely
CVSS 8.8EPSS 17.0%KEV nãoPoC Nuclei simMetasploit Patch
Lifecycle
12 Jan 2026Published on NVD
Recommendation: Plan a near-term fix — a public PoC already exists.
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

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →