CVE-2026-22812

CVE-2026-22812 is a high-severity vulnerability in Anoma Opencode with a CVSS 3.x base score of 8.8. Its EPSS exploit-prediction score of 17% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-306.

Key facts

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.

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 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2026-22812 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 17% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-22812?
CVE-2026-22812 affects Anoma Opencode. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-22812?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2026-22812 have an EU (EUVD) identifier?
Yes. CVE-2026-22812 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-2092.
When was CVE-2026-22812 published?
CVE-2026-22812 was published on 2026-01-12 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Anoma Opencode

All CVEs affecting Anoma Opencode →

Other CWE-306 (Missing Authentication for Critical Function) vulnerabilities

Browse all CWE-306 (Missing Authentication for Critical Function) vulnerabilities →