CVE-2026-22812

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

Configuration 1 (hide)

cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:*

History

17 Jun 2026, 10:20

Type Values Removed Values Added
Summary
  • (es) OpenCode es un agente de codificación de IA de código abierto. Antes de la 1.0.216, OpenCode inicia automáticamente un servidor HTTP no autenticado que permite a cualquier proceso local (o a cualquier sitio web a través de CORS permisivo) ejecutar comandos de shell arbitrarios con los privilegios del usuario. Esta vulnerabilidad está corregida en la 1.0.216.
References () https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh - Vendor Advisory, Exploit () https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh - Exploit, Vendor Advisory

21 Jan 2026, 15:14

Type Values Removed Values Added
References () https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh - () https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh - Vendor Advisory, Exploit
CPE cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:*
First Time Anoma
Anoma opencode

13 Jan 2026, 19:16

Type Values Removed Values Added
References () https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh - () https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh -

12 Jan 2026, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-12 23:15

Updated : 2026-06-17 10:20


NVD link : CVE-2026-22812

Mitre link : CVE-2026-22812

CVE.ORG link : CVE-2026-22812


JSON object : View

Products Affected

anoma

  • opencode
CWE
CWE-306

Missing Authentication for Critical Function

CWE-749

Exposed Dangerous Method or Function

CWE-942

Permissive Cross-domain Policy with Untrusted Domains