Skip to main content
VulnerabilityPublished

CVE-2026-22812: anomalyco opencode · Missing Authentication

Affects anomalyco opencodeSource CVE Database V5

0
Compare

Not known to be exploited · public detection template (Nuclei) · 16% EPSS · CVSS 8.8 High : upgrade to 1.0.216 soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
16.5% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.216
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jan 2026

  2. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade opencode and anomalyco/opencode to 1.0.216.

Affected software

ProductAffectedFixed in
anomalycoopencodeAffected
  • <1.0.216
Fixed in
  • 1.0.216
GitHubanomalyco/opencodepkg:github/anomalyco/opencodeOther threatsAffected
  • <1.0.216
Fixed in
  • 1.0.216

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Immediate upgrade to OpenCode version 1.0.216 or later is essential to remediate this vulnerability. Organizations should audit their environments to identify any instances of OpenCode running vulnerable versions. Network segmentation should be enforced to restrict access to the local HTTP server only to trusted processes or users. Implement strict firewall rules or local host-based access controls to prevent external or unauthorized internal access. Review and tighten CORS policies to limit origins that can interact with the HTTP server. Employ endpoint detection and response (EDR) tools to monitor for suspicious command execution activities. Educate users about the risks of visiting untrusted websites that could exploit this vulnerability via CORS. Finally, integrate vulnerability scanning for OpenCode versions into regular security assessments and CI/CD pipelines.

Description

CVE-2026-22812 is a high-severity vulnerability in anomalyco's OpenCode AI coding agent versions prior to 1.0.216. The flaw involves the automatic startup of an unauthenticated HTTP server that permits any local process or any website (due to permissive CORS settings) to execute arbitrary shell commands with the user's privileges. This missing authentication for a critical function allows attackers to compromise confidentiality, integrity, and availability of affected systems. The vulnerability is fixed in version 1.0.216. Although no known exploits are currently reported in the wild, the ease of exploitation and potential impact make it a significant threat. European organizations using vulnerable OpenCode versions are at risk, especially those with development environments or CI/CD pipelines integrating this tool.

References

Community reviews

Loading reviews…