CVE-2026-22812: Anoma Opencode Auth Bypass

CVE-2026-22812

NVDCVSS scored by security-advisories@github.com

Vulnerability 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.
Severity Level
HIGH(8.8)
Published Date
Jan 12, 2026
Last Modified
Jan 21, 2026
PoC
Available(Nuclei)
Exploitation Status
Public exploit available
Root Weakness (CWE)
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.
The product uses a cross-domain policy file that includes domains that should not be trusted.
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Anoma Opencode < 1.0.216
Patched Versions
  • Anoma Opencode 1.0.216

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Anoma Opencode and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Jan 12, 2026Published
  • Jan 21, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Anoma Opencode CVEsYou are reading CVE-2026-22812. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 1, 2026 14:13 UTC