CVE-2026-22812
HighPublic exploitOpenCode'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| Product | Affected versions | Fixed in |
|---|---|---|
| OpencodeAnoma | >= < 1.0.216 | 1.0.216 |
| opencode-ainpm | See advisory | 1.0.216 |
Patched Releases
Opencode
1.0.216
opencode-ai
1.0.216
Timeline
Publicly disclosed
Jan 13, 2026
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
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22812.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-22812
- articlehttps://github.com/anomalyco/opencode/commit/7d2d87fa2c44e32314015980bb4e59a9386e858c
- articlehttps://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh
FAQ
Common Questions.
OpenCode is an open source AI coding agent.
Affected: Opencode (Anoma) versions >= < 1.0.216; opencode-ai (npm). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
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.
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