Skip to content
Fencer Intel
high 8.8

CVE-2026-22812 in the critical feed json

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

published 9mo ago modified 4mo 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

  • npm opencode-ai 1.0.216
  • anoma opencode 1.0.216

Is CVE-2026-22812 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
9mo ago

Exploit prediction

16.54% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Weakness
  • CWE-306 Missing Authentication for Critical Functionality
  • CWE-749 Exposed Dangerous Method or Function
  • CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains

References

Sources

Fencer Intel 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.