← Back to CVE Explorer

CVE-2026-119025

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
7.7 (v4.0)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-10-29 12:17:12.017000
Last modified
2026-10-29 16:19:37.750000
View original CVE JSON
{
  "id": "CVE-2026-119025",
  "sourceIdentifier": "[email protected]",
  "published": "2026-10-29T12:17:12.017",
  "lastModified": "2026-10-29T16:19:37.750",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "sindresorhus",
          "product": "open",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/open",
          "versions": [
            {
              "version": "7.2.0",
              "lessThan": "11.0.0",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "modelcontextprotocol",
          "product": "inspector",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/%40modelcontextprotocol/inspector",
          "versions": [
            {
              "version": "2.0.0",
              "lessThan": "2.12.0",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "anomalyco",
          "product": "opencode",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/opencode-ai",
          "versions": [
            {
              "version": "1.0.137",
              "lessThan": "1.18.33",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV40": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "4.0",
          "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
          "baseScore": 7.7,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "attackRequirements": "PRESENT",
          "privilegesRequired": "NONE",
          "userInteraction": "PASSIVE",
          "vulnConfidentialityImpact": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "vulnAvailabilityImpact": "HIGH",
          "subConfidentialityImpact": "NONE",
          "subIntegrityImpact": "NONE",
          "subAvailabilityImpact": "NONE",
          "exploitMaturity": "NOT_DEFINED",
          "confidentialityRequirement": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "Automatable": "NOT_DEFINED",
          "Recovery": "NOT_DEFINED",
          "valueDensity": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "providerUrgency": "NOT_DEFINED"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 5.9
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-78"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/anomalyco/opencode/commit/29f07e0c69ad8668e0e15b0eb54f2fcb342af98c",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/anomalyco/opencode/pull/51414",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-q978-78c7-phqw",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sindresorhus/open/blob/v10.2.0/index.js#L189-L203",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sindresorhus/open/blob/v7.2.0/index.js#L60-L99",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sindresorhus/open/commit/274d70446bf38a7b7d50b214dd3962ef8ea9320d",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/sindresorhus/open/releases/tag/v11.0.0",
      "source": "[email protected]"
    },
    {
      "url": "https://www.vulncheck.com/advisories/open-7.2.0-before-11.0.0-os-command-injection-via-powershell-on-windows",
      "source": "[email protected]"
    }
  ]
}