CVE-2026-22812
CVE-2026-22812 · OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.8 · High · EPSS 16.5% · Public exploit · Fix available
- Published
- Updated
Stack: node
Affected products and versions
opencode
- Versions
- < 1.0.216: Affected
No fix published
opencode-ai npm
- Affected ranges
- SEMVER: < 1.0.216
Update to 1.0.216