CVE-2026-119025

open 7.2.0 before 11.0.0 OS Command Injection via PowerShell on Windows

Published Oct 29, 2026 CVSS 4.0 · 7.7 High EPSS 1.4% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the open module, allowing attackers to execute arbitrary PowerShell code on Windows or WSL by supplying specially crafted URLs. The module concatenates unvalidated URL parameters into a powershell command using –EncodedCommand, and subshell syntax such as $(...) is executed. An attacker controlling an OAuth server can embed malicious code, causing remote code execution. This flaw is a classic OS command injection (CWE‑78) and can compromise confidentiality, integrity, and availability of affected systems.

Affected Systems

The flaw affects the open npm package starting at version 7.2.0 and all later releases up to but not including 11.0.0. It also affects wrapper projects such as anomalyco/opencode and modelcontextprotocol/inspector that depend on these vulnerable open versions. Any application or script that imports open and runs on Windows or the Windows Subsystem for Linux at runtime is susceptible, particularly if it handles untrusted URLs or redirects.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity, and the EPSS score of 1.446% indicates a low but non‑zero exploitation probability, and the vulnerability has not been listed in the CISA KEV catalog. The exploit path requires only a crafted URL and does not need additional credentials, making it accessible to attackers who can influence or spoof redirect endpoints. Because the command is executed by the current user, elevated privileges are not required, but are possible if the exploited process runs with higher privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the open module to v11.0.0 or later, where the command injection is fixed.
  • Audit and sanitize any code paths that supply URLs to open, ensuring no unescaped subexpressions reach PowerShell.
  • If the patch cannot be applied immediately, mitigate by disabling PowerShell invocation or denying execution of encoded commands in the affected environment.

Generated by OpenCVE AI on October 30, 2026 at 15:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title open 7.2.0 before 11.0.0 OS Command Injection via PowerShell on Windows
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': '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'}

Subscriptions

No data.

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 3:26 PM
Reserved
Oct 29, 2026, 11:19 AM
Status
Awaiting Analysis
Published
Oct 29, 2026, 12:17 PM
Modified
Nov 3, 2026, 4:17 PM
Severity
Important
Public date
Oct 29, 2026, 11:24 AM