CVE-2026-22812

published 12 Jan 2026 · updated 13 Jan 2026

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

10.0CriticalCVSS 8.8EPSS 17%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 17%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
anomalyco<1.0.216

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-22812 severity on Zeptric[![CVE-2026-22812](https://zeptric.io/badge/cve/CVE-2026-22812.svg)](https://zeptric.io/cve/CVE-2026-22812)