{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.2.0"
                  },
                  {
                    "last_affected": "4.2.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "e2254169a0780ec7c299fff7d51e128b013a65d3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "2b7504bbb63634f2aeb5083461bd8c9ff0d9a2c8"
            },
            {
              "last_affected": "8bf6a94cbfefb2c1736feca507bf898092232722"
            },
            {
              "fixed": "e2254169a0780ec7c299fff7d51e128b013a65d3"
            }
          ],
          "repo": "https://github.com/supercorp-ai/supergateway",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-754"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131857.json"
  },
  "details": "Supergateway 4.2.0 through 4.2.2 contains a denial of service vulnerability in stdio-to-SSE mode that allows unauthenticated attackers to crash the gateway via prototype-inherited sessionId values. Attackers can send a POST message request with sessionId set to toString or constructor, triggering an unhandled TypeError that terminates every attached MCP session.",
  "id": "CVE-2026-131857",
  "modified": "2026-11-18T00:45:28.757807392Z",
  "published": "2026-11-17T23:42:24.720Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131857.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/stdioToSse.ts#L222-L238"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supercorp-ai/supergateway/commit/e2254169a0780ec7c299fff7d51e128b013a65d3"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/supercorp-ai/supergateway/issues/378"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-131857"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/supergateway-4.2.0-through-4.2.2-dos-via-prototype-inherited-sessionid"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Supergateway 4.2.0 through 4.2.2 DoS via Prototype-Inherited sessionId"
}