Skip to content
Heist/ feed
Back to feed
Medium

GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller

Type: advisorySources: Official CVE List

GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to version 1.1.36 of the GraphQL Tools legacy WebSocket executor package, buildWSLegacyExecutor in packages/executors/legacy-ws/src/index.ts reuses one WebSocket and replaces its single websocket.onmessage handler whenever a new overlapping subscription starts. The handler delivers LEGACY_WS.DATA frames to the newest observer without comparing data.id with the subscription operation id, so a caller using the same executor can receive another user's authorized subscription payload while the earlier caller's stream is starved. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.

Products
executor-legacy-ws, graphql-tools
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-118666
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:53 UTC · Revision 1

Source evidence

GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller

core-cve · Original source

Published 28 Oct 2026, 20:45 UTC

GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to version 1.1.36 of the GraphQL Tools legacy WebSocket executor package, buildWSLegacyExecutor in packages/executors/legacy-ws/src/index.ts reuses one WebSocket and replaces its single websocket.onmessage handler whenever a new overlapping subscription starts. The handler delivers LEGACY_WS.DATA frames to the newest observer without comparing data.id with the subscription operation id, so a caller using the same executor can receive another user's authorized subscription payload while the earlier caller's stream is starved. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.

cve:CVE-2026-118666

graphql-tools

Fixed versions: Not specified

executor-legacy-ws

Fixed versions: Not specified

Complete source record
{
  "id": "0683d002cd6e671da94ef0d4f75fe6bc989de199c0d19889b43e761c0840da9d",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-118666",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GraphQL Tools: Shared legacy executor routes one subscription's results to a different caller",
    "summary": "GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to version 1.1.36 of the GraphQL Tools legacy WebSocket executor package, buildWSLegacyExecutor in packages/executors/legacy-ws/src/index.ts reuses one WebSocket and replaces its single websocket.onmessage handler whenever a new overlapping subscription starts. The handler delivers LEGACY_WS.DATA frames to the newest observer without comparing data.id with the subscription operation id, so a caller using the same executor can receive another user's authorized subscription payload while the earlier caller's stream is starved. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.",
    "evidence": "cve:CVE-2026-118666",
    "products": [
      {
        "name": {
          "value": "graphql-tools",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "executor-legacy-ws",
          "evidence": "/containers/cna/affected/1/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-118666",
      "aliases": [
        "CVE-2026-118666"
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 6,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N",
            "userInteraction": "NONE",
            "attackComplexity": "HIGH",
            "attackRequirements": "PRESENT",
            "privilegesRequired": "LOW",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "LOW",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "vendor": "ardatan",
          "product": "graphql-tools",
          "versions": [
            {
              "status": "affected",
              "version": "< 9.0.36"
            }
          ]
        },
        {
          "vendor": "@graphql-tools",
          "product": "executor-legacy-ws",
          "versions": [
            {
              "status": "affected",
              "version": "< 1.1.36"
            }
          ]
        }
      ],
      "modified": "2026-10-28T20:45:58.056Z",
      "provider": "cve",
      "references": [
        "https://github.com/ardatan/graphql-tools/security/advisories/GHSA-mp66-8ww2-pcwm",
        "https://github.com/ardatan/graphql-tools/pull/8480",
        "https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458b",
        "https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/executor-legacy-ws@1.1.36"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-28T20:45:58.056Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-118666",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 487935,
  "published_at": "2026-10-28T20:45:58.056+00:00"
}