8.8High

CVE-2026-22812OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

anomalyco opencode Published: (10 months ago)

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.

Weakness (CWE): CWE-306CWE-749CWE-942

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
anoma opencode < 1.0.216
anomalyco opencode < 1.0.216

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:* < 1.0.216