Vulnerabilities

Vulnerability · CVE-2026-22812

OpenCode is an open source AI coding agent.

Published Jan 12, 2026 · catalog updated Jan 13, 2026 · OpenCode is an open

Last checked Nov 6, 2026. A connected source was read within the last 7 days.

Check this week

CVE-2026-22812 is not in CISA KEV. FIRST estimates a 16.54% chance of exploitation in the next 30 days. Check whether you run OpenCode is an open.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (OpenCode is an open).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
High8.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
16.54%
Remediation
Version ranges on file
Affected products
vendor anomalyco opencode < 1.0.216

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor anomalyco opencode < 1.0.216< 1.0.216

How to fix CVE-2026-22812

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2026-22812 is not in CISA KEV. FIRST estimates a 16.54% chance of exploitation in the next 30 days. Check whether you run OpenCode is an open.

Which versions are affected?

Compare what you have installed with anomalyco opencode < 1.0.216 < 1.0.216. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 16.54%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jan 12, 2026 · EUVD

    Detected

    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.

  2. Jan 13, 2026 · EUVD

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2026-22812

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-22812

    30-day exploitation probability 16.54%

    first.org
  • EUVDVulnerability recordEUVD-2026-2092

    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 fixe

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Nov 6, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 6, 2026
  • CVE.orgOct 30, 2026
  • EUVDOct 30, 2026