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.
History

Tue, 13 Jan 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Jan 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Anomalyco
Anomalyco opencode
Vendors & Products Anomalyco
Anomalyco opencode

Mon, 12 Jan 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution
Weaknesses CWE-306
CWE-749
CWE-942
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-01-12T22:49:18.325Z

Updated: 2026-01-13T19:07:37.056Z

Reserved: 2026-01-09T22:50:10.288Z

Link: CVE-2026-22812

cve-icon Vulnrichment

Updated: 2026-01-13T14:13:39.967Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-01-12T23:15:53.370

Modified: 2026-01-13T19:16:27.083

Link: CVE-2026-22812

cve-icon Redhat

No data.