CVE-2026-22812

HIGHCVSS 8.8/10EPSS 16.96%

Last modified

CVE-2026-22812 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 16.96% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
16.96%

96.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
AnomaOpencode< 1.0.216

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2026-22812?
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.
How severe is CVE-2026-22812?
CVE-2026-22812 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 16.96% probability of exploitation in the next 30 days.
How do I fix CVE-2026-22812?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2026-22812?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST