CVE-2026-22812 HIGH

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

Vendor Anomalyco
Product opencode
Weakness CWE-306 · Missing auth
Published January 12, 2026
Last update January 13, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 12, 2026 CVE published
January 13, 2026 Record updated