{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "last_affected": "4.2.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "705e7cd70f6e9ac9cfb1f7d6d83d544983efa68b"
            },
            {
              "last_affected": "8bf6a94cbfefb2c1736feca507bf898092232722"
            }
          ],
          "repo": "https://github.com/supercorp-ai/supergateway",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1385"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132121.json"
  },
  "details": "Supergateway 2.4.0 through 4.2.2 contains a cross-site WebSocket hijacking vulnerability in stdio-to-WebSocket mode that allows malicious web pages to connect by bypassing missing Origin header validation. Attackers can open the /message WebSocket from a victim's browser, even against localhost-bound gateways, to initialize an MCP session and invoke wrapped stdio MCP server tools with victim privileges.",
  "id": "CVE-2026-132121",
  "modified": "2026-11-18T13:45:46.485123138Z",
  "published": "2026-11-18T12:12:11.101Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132121.json"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Teycir/supergateway-security-research"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/supercorp-ai/supergateway"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/supercorp-ai/supergateway/blob/v4.2.2/src/gateways/stdioToWs.ts#L104-L126"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/supercorp-ai/supergateway/issues/378"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-132121"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/supergateway-2.4.0-through-4.2.2-cross-site-websocket-hijacking-via-stdiotows"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Supergateway 2.4.0 through 4.2.2 Cross-Site WebSocket Hijacking via stdioToWs"
}