跳到正文
CVE-high(cvefeed.io)·· 4 小時前精選AI 評分79

GraphQL Tools 連線引數持久化導致 WebSocket 認證被跨使用者冒充(CVE-2026-118665)

CVE-2026-118665 - GraphQL Tools: Per-request connection parameters persist into later users' WebSocket authentications

AI 導讀

GraphQL Tools 在 1.1.36 之前的 WebSocket 執行器會將先前請求的連線引數保留,導致後續使用者可能被偽裝成先前使用者。

推薦理由

此漏洞揭示 GraphQL Tools 連線引數持久化問題,提示開發者須更新至 1.1.36 以避免跨使用者身份冒充;同時建議避免重用執行器以降低風險。若無法升級,請為每個請求建立獨立執行器,或檢查程式碼以確保連線引數不被遺留。

正文 · 原文

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 retains request.extensions.connectionParams in the closure-scoped executorConnectionParams object after cleanupWebsocket closes a connection. When one executor is reused across different authorization contexts, a later request that omits a sensitive key can send an earlier caller's Authorization or tenant value in its connection_init payload, causing the downstream server to authenticate the later caller as the earlier user. Applications that create a new executor for every request are not affected. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.

Impact

Affected Products

The following products are affected by CVE-2026-118665 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.

Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH [email protected]

Update GraphQL Tools legacy WebSocket executor to version 1.1.36 or later to fix authentication issues.

  • Update the GraphQL Tools legacy WebSocket executor package.
  • Ensure executors are not reused across different authorization contexts.
  • Create a new executor for every request if unable to update.

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-118665.

URL Resource
https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458b
https://github.com/ardatan/graphql-tools/pull/8480
https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]
https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-118665 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-118665 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-118665 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-118665 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    十月. 28, 2026

    Action Type Old Value New Value
    Added Description 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 retains request.extensions.connectionParams in the closure-scoped executorConnectionParams object after cleanupWebsocket closes a connection. When one executor is reused across different authorization contexts, a later request that omits a sensitive key can send an earlier caller's Authorization or tenant value in its connection_init payload, causing the downstream server to authenticate the later caller as the earlier user. Applications that create a new executor for every request are not affected. This issue is fixed in version 1.1.36 of the GraphQL Tools legacy WebSocket executor package.
    Added CVSS V4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/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
    Added CWE CWE-613
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/118xxx/CVE-2026-118665.json">CVE-2026-118665</a>
    Added Reference https://github.com/ardatan/graphql-tools/commit/c2f226e6f68236be9e4a577f29faeaa92547458b
    Added Reference https://github.com/ardatan/graphql-tools/pull/8480
    Added Reference https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]
    Added Reference https://github.com/ardatan/graphql-tools/security/advisories/GHSA-434m-5hcj-pxf3

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.

來源: CVE-high (cvefeed.io)
開啟原文