CVE-2026-22812
published high CVSS 3.1 · 8.8OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| anomalyco | — | opencode< 1.0.216 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| anomalyco | opencode | < 1.0.216 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-306 CWE-306: Missing Authentication for Critical Function
- CWE-749 CWE-749: Exposed Dangerous Method or Function
- CWE-942 CWE-942: Permissive Cross-domain Policy with Untrusted Domains
References
1Provider assertions
2GitHub_M · cna
OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 05060e9f48ab95050f54704ab56f913dcec32337f4b65ca53ab01df45d06736c
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record