Skip to content

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

HighCVSS 8.8 EPSS 16.5% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
anoma opencode < 1.0.216 1.0.216 Fixed
npm opencode-ai(npm) < 1.0.216 1.0.216 Fixed
anomalyco opencode = < 1.0.216 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
anomalyco opencode = < 1.0.216 No fix listed
npm opencode-ai(npm) < 1.0.216 1.0.216
anoma opencode < 1.0.216 1.0.216

References