HighVulnerability
CVE-2026-22812: OpenCode unauthenticated HTTP server allows arbitrary shell command execution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-22812
- Published
- Record updated
- Affected
- opencode-ai < 1.0.216
- Fixed in
- 1.0.216
- released December 30, 2025, 13 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 16.5%
Summary
CVE-2026-22812 affects OpenCode, an open source AI coding agent, before version 1.0.216. OpenCode automatically starts an unauthenticated HTTP server, which lets any local process, or any website through permissive CORS, run arbitrary shell commands with the user's privileges. The weakness is classified as CWE-306, CWE-749 and CWE-942.
Mitigation
Fixed in 1.0.216.
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online