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.
Problem types
CWE-306: Missing Authentication for Critical Function
CWE-749: Exposed Dangerous Method or Function
CWE-942: Permissive Cross-domain Policy with Untrusted Domains
Product status
References
github.com/...encode/security/advisories/GHSA-vxw4-wv6m-9hhh
github.com/...encode/security/advisories/GHSA-vxw4-wv6m-9hhh