CVE-2026-22812 in the critical feed json
OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution
published 2026-01-12 9 mo ago modified 2026-06-17 4 mo ago also GHSA-vxw4-wv6m-9hhh , EUVD-2026-2092
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.5%
- EPSS 16.5% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
16.54% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template OpenCode < 1.0.216 - Unauthenticated Remote Code Execution nuclei detection template
- github.com https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | opencode-ai | <1.0.216 |
1.0.216 |
Affected products
- anomalyco opencode
Classification
References
Sources
- CVE List CVE-2026-22812
- GitHub Advisory GHSA-vxw4-wv6m-9hhh
- NVD CVE-2026-22812
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.