CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-306","description":"CWE-306: Missing Authentication for Critical Function","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-942","description":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-749","description":"CWE-749: Exposed Dangerous Method or Function","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"opencode","vendor":"anomalyco","versions":[{"status":"affected","version":"< 1.0.216"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-306","description":"CWE-306: Missing Authentication for Critical Function","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-942","description":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-749","description":"CWE-749: Exposed Dangerous Method or Function","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e7a47a794177529a5fe9cbe84a4b9bf0af49428b90bb94851c6caf5df0cac9cd · sha256:8a7cbec33dacfa44… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.