CVE-2026-119025
open 7.2.0 before 11.0.0 contains an OS command injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/anomalyco/opencode/commit/29f07e0c69ad8668e0e15b0eb54f2fcb342af98c
- github.com/anomalyco/opencode/pull/51414
- github.com/modelcontextprotocol/inspector/security/advisories/GHSA-q978-78c7-phqw
- github.com/sindresorhus/open/blob/v10.2.0/index.js#L189-L203
- github.com/sindresorhus/open/blob/v7.2.0/index.js#L60-L99
- github.com/sindresorhus/open/commit/274d70446bf38a7b7d50b214dd3962ef8ea9320d
- github.com/sindresorhus/open/releases/tag/v11.0.0
- www.vulncheck.com/advisories/open-7.2.0-before-11.0.0-os-command-injection-via-powershell-
- nvd.nist.gov/vuln/detail/CVE-2026-119025
- cve.org/CVERecord?id=CVE-2026-119025
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.