{"id":"CVE-2026-119025","summary":"open 7.2.0 before 11.0.0 OS Command Injection via PowerShell on Windows","details":"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.","aliases":["GHSA-q978-78c7-phqw"],"modified":"2026-11-08T10:45:25.562786013Z","published":"2026-10-29T11:24:18.723Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119025.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119025.json"},{"type":"ADVISORY","url":"https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-q978-78c7-phqw"},{"type":"ADVISORY","url":"https://github.com/sindresorhus/open/releases/tag/v11.0.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119025"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/open-7.2.0-before-11.0.0-os-command-injection-via-powershell-on-windows"},{"type":"FIX","url":"https://github.com/anomalyco/opencode/commit/29f07e0c69ad8668e0e15b0eb54f2fcb342af98c"},{"type":"FIX","url":"https://github.com/anomalyco/opencode/pull/51414"},{"type":"FIX","url":"https://github.com/sindresorhus/open/commit/274d70446bf38a7b7d50b214dd3962ef8ea9320d"},{"type":"ARTICLE","url":"https://github.com/sindresorhus/open/blob/v10.2.0/index.js#L189-L203"},{"type":"ARTICLE","url":"https://github.com/sindresorhus/open/blob/v7.2.0/index.js#L60-L99"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/anomalyco/opencode","events":[{"introduced":"0569e8652c22cc58f2ddca698b02d5e7bdecf368"},{"fixed":"51ef4be1d3c122f18fefb510dca8d778571f4f18"},{"fixed":"29f07e0c69ad8668e0e15b0eb54f2fcb342af98c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.0.137"},{"fixed":"1.18.33"}]},{"range":[{"fixed":"29f07e0c69ad8668e0e15b0eb54f2fcb342af98c"}],"source":"REFERENCES_COMMIT"}]}},{"type":"GIT","repo":"https://github.com/modelcontextprotocol/inspector","events":[{"introduced":"7aebf168e6277ea26b1f04a7987a1cd11328ec83"},{"fixed":"0cac110a809e93753fa353810b9b4c91e89810fc"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.0.0"},{"fixed":"2.12.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}},{"type":"GIT","repo":"https://github.com/sindresorhus/open","events":[{"introduced":"1022f420261ecca34eeff2ba7d02c41b4a708f51"},{"fixed":"88153308461c32974b146f29446837ee290f605b"},{"fixed":"274d70446bf38a7b7d50b214dd3962ef8ea9320d"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"7.2.0"},{"fixed":"11.0.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"274d70446bf38a7b7d50b214dd3962ef8ea9320d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"88153308461c32974b146f29446837ee290f605b"}],"source":"REFERENCES_TAG","original_tag":"v11.0.0"}]}}],"versions":["github-v1.2.25","github-v1.2.24","github-v1.2.23","v1.4.11","v1.4.10","v1.4.9","v1.4.8","v1.4.7","github-v1.2.22","github-v1.2.21","github-v1.2.20","v1.4.6","v1.4.5","v1.4.4","v1.4.2","v1.4.1","v1.4.0","v1.3.17","v1.3.16","v1.3.15","v1.3.14","v1.3.13","v1.3.12","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","latest","github-v1.2.19","v1.3.2","v1.3.1","v1.3.0","v1.2.27","v1.2.26","v1.2.25","v1.2.24","v1.2.23","v1.2.22","v1.2.21","v1.2.20","v1.2.19","github-v1.2.18","v1.2.18","v1.2.17","v1.2.16","v1.2.15","v1.2.14","v1.2.13","v1.2.11","github-v1.2.17","v1.2.10","v1.2.9","v1.2.8","v1.2.7","github-v1.2.16","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.65","v1.1.64","v1.1.63","v1.1.62","v1.1.61","v1.1.60","v1.1.59","v1.1.58","v1.1.57","v1.1.56","v1.1.55","v1.1.54","github-v1.2.15","v1.1.53","v1.1.52","v1.1.51","v1.1.50","v1.1.49","v1.1.48","v1.1.46","v1.1.47","v1.1.45","v1.1.43","v1.1.42","v1.1.41","v1.1.40","v1.1.39","v1.1.38","v1.1.37","v1.1.36","v1.1.35","v1.1.34","v1.1.33","v1.1.32","v1.1.31","v1.1.30","v1.1.29","v1.1.28","v1.1.27","v1.1.26","github-v1.2.13","v1.1.25","v1.1.24","v1.1.23","v1.1.21","v1.1.20","v1.1.19","v1.1.18","github-v1.2.12","v1.1.17","v1.1.16","v1.1.15","v1.1.14","v1.1.13","v1.1.12","v1.1.11","v1.1.10","v1.1.8","v1.1.7","v1.1.6","v1.1.5","v1.1.4","v1.1.3","github-v1.2.11","v1.1.2","v1.1.1","github-v1.2.9","github-v1.2.10","github-v1.2.8","github-v1.2.7","v1.0.224","v1.0.223","v1.0.222","v1.0.221","v1.0.220","v1.0.219","v1.0.218","v1.0.217","v1.0.216","v1.0.215","v1.0.214","v1.0.213","v1.0.212","v1.0.211","v1.0.210","v1.0.209","v1.0.208","v1.0.207","v1.0.206","vscode-v0.0.13","v1.0.205","v1.0.204","v1.0.203","v1.0.202","v1.0.201","v1.0.200","v1.0.199","v1.0.198","v1.0.197","v1.0.196","v1.0.195","v1.0.194","v1.0.193","v1.0.192","v1.0.191","v1.0.190","v1.0.189","v1.0.188","v1.0.187","v1.0.186","v1.0.185","github-v1.2.6","v1.0.184","v1.0.183","v1.0.182","v1.0.181","github-v1.2.5","v1.0.180","v1.0.179","v1.0.178","v1.0.177","v1.0.176","v1.0.175","v1.0.174","v1.0.173","v1.0.172","v1.0.171","v1.0.170","v1.0.169","v1.0.168","github-v1.2.3","github-v1.2.2","v1.0.167","v1.0.166","v1.0.165","v1.0.164","github-v1.2.1","v1.0.153","v1.0.149","v1.0.148","v1.0.147","github-v1.2.0","github-v1.1.0","v1.0.143","v1.0.142","v1.0.141","v1.0.138","v1.0.137","2.11.0","2.10.1","2.10.0","2.9.0","2.8.0","2.7.0","2.6.0","2.5.0","2.4.0","2.3.0","2.2.0","2.1.0","2.0.0","v10.2.0","v10.1.2","v10.1.1","v10.1.0","v10.0.4","v10.0.3","v10.0.2","v10.0.1","v10.0.0","v9.1.0","v9.0.0","v8.4.2","v8.4.1","v8.4.0","v8.3.0","v8.2.1","v8.2.0","v8.1.0","v8.0.9","v8.0.8","v8.0.7","v8.0.6","v8.0.5","v8.0.4","v8.0.3","v8.0.2","v8.0.1","v8.0.0","v7.4.2","v7.4.1","v7.4.0","v7.3.1","v7.3.0","v7.2.1","v7.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119025.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}