{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.0.137"
                  },
                  {
                    "fixed": "1.18.33"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "29f07e0c69ad8668e0e15b0eb54f2fcb342af98c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0569e8652c22cc58f2ddca698b02d5e7bdecf368"
            },
            {
              "fixed": "51ef4be1d3c122f18fefb510dca8d778571f4f18"
            },
            {
              "fixed": "29f07e0c69ad8668e0e15b0eb54f2fcb342af98c"
            }
          ],
          "repo": "https://github.com/anomalyco/opencode",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "fixed": "2.12.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "7aebf168e6277ea26b1f04a7987a1cd11328ec83"
            },
            {
              "fixed": "0cac110a809e93753fa353810b9b4c91e89810fc"
            }
          ],
          "repo": "https://github.com/modelcontextprotocol/inspector",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.2.0"
                  },
                  {
                    "fixed": "11.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "274d70446bf38a7b7d50b214dd3962ef8ea9320d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v11.0.0",
                "range": [
                  {
                    "fixed": "88153308461c32974b146f29446837ee290f605b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "1022f420261ecca34eeff2ba7d02c41b4a708f51"
            },
            {
              "fixed": "88153308461c32974b146f29446837ee290f605b"
            },
            {
              "fixed": "274d70446bf38a7b7d50b214dd3962ef8ea9320d"
            }
          ],
          "repo": "https://github.com/sindresorhus/open",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q978-78c7-phqw"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119025.json"
  },
  "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.",
  "id": "CVE-2026-119025",
  "modified": "2026-11-08T10:30:52.510480290Z",
  "published": "2026-10-29T11:24:18.723Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "open 7.2.0 before 11.0.0 OS Command Injection via PowerShell on Windows"
}