CVE-2026-22812

O

penCode 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

21 Jan 2026, 15:14

Type Values Removed Values Added
First Time Anoma
Anoma opencode
CPE cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:*
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

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-01-21 15:14


NVD link : CVE-2026-22812

Mitre link : CVE-2026-22812

CVE.ORG link : CVE-2026-22812


JSON object : View

Products Affected
CWE
CWE-306

Missing Authentication for Critical Function

CWE-749

Exposed Dangerous Method or Function

CWE-942

Permissive Cross-domain Policy with Untrusted Domains