Auth bypass in Anoma Opencode
CVE-2026-22812
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.165, 97.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Anoma Opencode
- Anomalyco Opencode — versions < 1.0.216
Weakness classification (CWE)
Public exploits and proof-of-concept code
11 public repositories with exploit or proof-of-concept code for this CVE:
- rohmatariow/CVE-2026-22812-exploit (34 stars, last pushed 2026-01-16)
- barrersoftware/opencode-secure (6 stars, last pushed 2026-01-19): Security-hardened fork of OpenCode - Fixes CVE-2026-22812 (CVSS 8.8 RCE) that upstream refuses to patch
- 0xgh057r3c0n/CVE-2026-22812 (2 stars, last pushed 2026-01-19): OpenCode < v1.0.216 - Unauthenticated RCE
- Udyz/CVE-2026-22812-Exp (1 star, last pushed 2026-09-26): CVE-2026-22812 - OpenCode Unauth RCE
- Hex-Neo/CVE-2026-22812-OpenCode-RCE-exp (1 star, last pushed 2026-04-27)
- 0xBlackash/CVE-2026-22812 (1 star, last pushed 2026-04-06): CVE-2026-22812
- 0xredash/CVE-2026-22812 (1 star, last pushed 2026-04-06): CVE-2026-22812
- ashrafzaryouh/CVE-2026-22812 (1 star, last pushed 2026-04-06): CVE-2026-22812
- HodgeLuke/ai-agent-security-research (1 star, last pushed 2026-03-29): Open security research on AI coding agent infrastructure. Agent-executable remediation manifests for CVE-2026-22812 and CVE-2026-22813.
- CayberMods/CVE-2026-22812-POC (1 star, last pushed 2026-01-20)
1 more are listed on the interactive page.
References
- https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh (Exploit, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.