Skip to content
Vulnerability Intelligence

CVE-2026-22812

HighPublic exploit

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

Published Jan 13, 2026 · Updated Aug 12, 2026 · Also known as GHSA-vxw4-wv6m-9hhh

Key Facts

Patch immediately
  • CVE-2026-22812 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Opencode (Anoma), opencode-ai (npm).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 17% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Opencode 1.0.216, opencode-ai 1.0.216.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

17%

Higher than 96.9% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2026-22812 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
OpencodeAnoma>= < 1.0.2161.0.216
opencode-ainpmSee advisory1.0.216

Patched Releases

Opencode

1.0.216

opencode-ai

1.0.216

Timeline

  1. Publicly disclosed

    Jan 13, 2026

  2. Last updated

    Aug 12, 2026

Weakness Type

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

References

1 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-22812 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo