# CVE-2026-119025: open 7.2.0 before 11.0.0 OS Command Injection via PowerShell on Windows

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `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 metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.56% (percentile 86, 2026-11-28)
- **CWE:** CWE-78
- **Published:** 2026-10-29T11:24:18.723Z
- **Modified:** 2026-11-03T16:17:20.497Z

## Who should check

- Anyone running sindresorhus open \>= 7.2.0, \< 11.0.0
- Anyone running modelcontextprotocol inspector \>= 2.0.0, \< 2.12.0
- Anyone running anomalyco opencode \>= 1.0.137, \< 1.18.33

## Description

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.

## Affected and fixed versions

- sindresorhus open: \>= 7.2.0, \< 11.0.0 (cvelist)
- modelcontextprotocol inspector: \>= 2.0.0, \< 2.12.0 (cvelist)
- anomalyco opencode: \>= 1.0.137, \< 1.18.33 (cvelist)

## Mitigation

- Upgrade open to 11.0.0 or later.
- Upgrade inspector to 2.12.0 or later.
- Upgrade opencode to 1.18.33 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-119025. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-119025.md
Affected: sindresorhus open >= 7.2.0, < 11.0.0; modelcontextprotocol inspector >= 2.0.0, < 2.12.0; anomalyco opencode >= 1.0.137, < 1.18.33
Fixed in: sindresorhus open 11.0.0, modelcontextprotocol inspector 2.12.0, anomalyco opencode 1.18.33

Steps:
1. Search this machine and project for sindresorhus open, modelcontextprotocol inspector, anomalyco opencode: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-119025 being exploited?

There is no confirmed exploitation: CVE-2026-119025 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.56% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-119025?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-119025?

sindresorhus open \>= 7.2.0, \< 11.0.0; modelcontextprotocol inspector \>= 2.0.0, \< 2.12.0; anomalyco opencode \>= 1.0.137, \< 1.18.33.

### Is there a fix for CVE-2026-119025?

Yes. Fixed in sindresorhus open 11.0.0, modelcontextprotocol inspector 2.12.0, anomalyco opencode 1.18.33. Upgrade open to 11.0.0 or later. Upgrade inspector to 2.12.0 or later. Upgrade opencode to 1.18.33 or later.

### How do I check if I'm affected by CVE-2026-119025?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-q978-78c7-phqw>
- patch: <https://github.com/sindresorhus/open/commit/274d70446bf38a7b7d50b214dd3962ef8ea9320d>
- patch: <https://github.com/anomalyco/opencode/pull/51414>
- patch: <https://github.com/anomalyco/opencode/commit/29f07e0c69ad8668e0e15b0eb54f2fcb342af98c>
- article: <https://github.com/sindresorhus/open/blob/v10.2.0/index.js#L189-L203>
- article: <https://github.com/sindresorhus/open/blob/v7.2.0/index.js#L60-L99>
- other: <https://github.com/sindresorhus/open/releases/tag/v11.0.0>
- other: <https://www.vulncheck.com/advisories/open-7.2.0-before-11.0.0-os-command-injection-via-powershell-on-windows>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-119025>

HTML: <https://flawdb.com/CVE-2026-119025> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-119025>
