Unauthenticated Remote Code Execution in OpenCode
Affected software: OpenCode (npm: opencode-ai)
TL;DR:
Before v1.1.10, OpenCode automatically and silently started an unauthenticated web server which allowed connecting peers to execute arbitrary code.
Before v1.0.216, any website could execute arbitrary code on your machine if OpenCode was running — no user interaction or configuration necessary.
Since v1.1.10, the server is disabled by default, but when enabled (via flags or config) it remains completely unauthenticated.
Vulnerability Summary
...
Read more at cy.md