Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-22812
January 12, 2026
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 Packages
https://github.com/anomalyco/opencode.git (GITHUB):
Affected version(s) >=github-v1.0.0 <v1.0.216
Fix Suggestion:
Update to version v1.0.216
opencode-ai (NPM):
Affected version(s) >=0.0.0-v0-202510310554 <1.0.216
Fix Suggestion:
Update to version 1.0.216
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Permissive Cross-domain Security Policy with Untrusted Domains
Missing Authentication for Critical Function
Exposed Dangerous Method or Function
EPSS
Base Score:
3.55