Security mailing lists by PureSourceCode

CVE-2026-22812

HIGH 8.8CVSS 3.1

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

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.

Published
12 Jan 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-306CWE-749CWE-942
Also known as
GHSA-vxw4-wv6m-9hhh
Sources
NVDJSONOSV GHSA-vxw4-wv6m-9hhhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD anoma opencode
cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:*
< 1.0.216 1.0.216
OSV npm opencode-ai < 1.0.216 1.0.216

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Jan 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.