RCE in Anomalyco Opencode
CVE-2026-119025
open 7.2.0 before 11.0.0 contains an OS command injection vulnerability that allows attackers to execute PowerShell code by supplying crafted URLs on Windows and WSL. Attackers can embed $(...) subexpressions in URLs, such as OAuth authorization_endpoint values from malicious MCP servers, which execute when index.js passes them unescaped to powershell -EncodedCommand.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/sindresorhus/open/commit/274d70446bf38a7b7d50b214dd3962ef8ea9320d (patch)
- github.com/sindresorhus/open/releases/tag/v11.0.0 (release-notes)
- github.com/sindresorhus/open/blob/v10.2.0/index.js (technical-description)
- github.com/sindresorhus/open/blob/v7.2.0/index.js (technical-description)
- github.com/modelcontextprotocol/inspector/security/advisories/GHSA-q978-78c7-ph… (vendor-advisory)
- github.com/anomalyco/opencode/pull/51414 (issue-tracking, patch)
- github.com/anomalyco/opencode/commit/29f07e0c69ad8668e0e15b0eb54f2fcb342af98c (patch)
- www.vulncheck.com/advisories/open-7.2.0-before-11.0.0-os-command-injection-via-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-119025?
- CVE-2026-119025 is a high-severity vulnerability in Anomalyco Opencode, classified under OS Command Injection. CVSS score: 7.5/10. Published 2026-10-29.
- How severe is CVE-2026-119025?
- High severity. CVSS v3 base score is 7.5 out of 10.