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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-01-12T22:49:18.325Z
Reserved: 2026-01-09T22:50:10.288Z
Link: CVE-2026-22812
No data.
Status : Received
Published: 2026-01-12T23:15:53.370
Modified: 2026-01-12T23:15:53.370
Link: CVE-2026-22812
No data.
OpenCVE Enrichment
No data.