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.
- CVSS 4.0
- 7.7
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CWE
- CWE-78
- Published
- Modified
- Record from
- the NVD, synced
References
- https://github.com/anomalyco/opencode/commit/29f07e0c69ad8668e0e15b0eb54f2fcb342af98c
- https://github.com/anomalyco/opencode/pull/51414
- https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-q978-78c7-phqw
- https://github.com/sindresorhus/open/blob/v10.2.0/index.js#L189-L203
- https://github.com/sindresorhus/open/blob/v7.2.0/index.js#L60-L99