Skip to content

Bump @graphql-tools/executor-legacy-ws from 1.1.26 to 1.1.37 - #245

Merged
mihaimaruseac merged 2 commits into
mainfrom
dependabot/npm_and_yarn/graphql-tools/executor-legacy-ws-1.1.37
Oct 6, 2026
Merged

mihaimaruseac merged 2 commits into
mainfrom
dependabot/npm_and_yarn/graphql-tools/executor-legacy-ws-1.1.37

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @graphql-tools/executor-legacy-ws from 1.1.26 to 1.1.37.

Changelog

Sourced from @​graphql-tools/executor-legacy-ws's changelog.

1.1.37

Patch Changes

  • Updated dependencies [19f5b33]:
    • @​graphql-tools/utils@​12.0.3

1.1.36

Patch Changes

  • #8480 c2f226e Thanks @​ardatan! - Security: Isolate legacy GraphQL WebSocket executions on a shared buildWSLegacyExecutor().

    A single executor reused across callers kept extensions.connectionParams for the lifetime of the closure and installed one websocket.onmessage handler. A later request could be authenticated with a previous caller's connection_init payload (GHSA-434m-5hcj-pxf3, CWE-613), and an overlapping subscription could receive another operation's data frames because the handler ignored the protocol operation id (GHSA-mp66-8ww2-pcwm, CWE-200).

    Corrected behavior

    • Each execution opens its own socket. connection_init is built from the executor's base connectionParams plus that request's extensions.connectionParams only.
    • data, error, and complete frames are delivered only when id matches the operation that socket started.
    • Operation ids are no longer Date.now().
  • Updated dependencies [b1fbba2, 20d36a5]:

    • @​graphql-tools/utils@​12.0.2

1.1.35

Patch Changes

  • #8426 3831a06 Thanks @​ardatan! - Security: Enable TLS certificate validation by default for legacy GraphQL WebSocket (graphql-ws protocol) connections over wss://.

    buildWSLegacyExecutor() previously hardcoded rejectUnauthorized: false, so Node.js clients accepted any certificate (including self-signed or attacker-controlled ones). Credentials in connectionParams / headers and subscription payloads could be exposed to a network MITM. This addresses GHSA-6fw5-9hq8-w87g (CWE-295).

    Corrected behavior

    • Default is now rejectUnauthorized: true (Node TLS verifies the peer certificate), matching secure-by-default expectations.
    • Connections to endpoints with untrusted/self-signed certificates will fail unless you opt out.

    Opt-out (trusted / local self-signed only)

    buildWSLegacyExecutor(url, WebSocket, {
      rejectUnauthorized: false,
      connectionParams: { /* ... */ },
    })

    Or via UrlLoader / LoadFromUrlOptions when subscriptionsProtocol is LEGACY_WS:

    {
      subscriptionsProtocol: SubscriptionProtocol.LEGACY_WS,
      rejectUnauthorized: false,

... (truncated)

Commits
  • 944121e Upcoming Release Changes (#8483)
  • 3a43b4b Upcoming Release Changes (#8460)
  • c2f226e fix(executor-legacy-ws): isolate per-request auth and subscription results (#...
  • 01167f3 chore(release): update monorepo packages versions (#8427)
  • 3831a06 fix(executor-legacy-ws): enable TLS cert validation by default (GHSA-6fw5-9hq...
  • 8b9b7df chore(release): update monorepo packages versions (#8365)
  • 0f00a44 chore: use HTTPS git URLs for package repository metadata (#8376)
  • 9feabd9 chore(release): update monorepo packages versions (#8327)
  • 07cd760 build(deps): bump the actions-deps group across 1 directory with 7 updates (#...
  • 755d699 build(deps): bump the actions-deps group with 4 updates (#8353)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 6, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/graphql-tools/executor-legacy-ws-1.1.37 branch from c90b113 to 003334a Compare October 6, 2026 14:29
Bumps [@graphql-tools/executor-legacy-ws](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/executors/legacy-ws) from 1.1.26 to 1.1.37.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/executors/legacy-ws/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/executor-legacy-ws@1.1.37/packages/executors/legacy-ws)

---
updated-dependencies:
- dependency-name: "@graphql-tools/executor-legacy-ws"
  dependency-version: 1.1.37
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/graphql-tools/executor-legacy-ws-1.1.37 branch from 003334a to 3f5c2f7 Compare October 6, 2026 14:35
@mihaimaruseac
mihaimaruseac merged commit 93e678f into main Oct 6, 2026
6 checks passed
@mihaimaruseac
mihaimaruseac deleted the dependabot/npm_and_yarn/graphql-tools/executor-legacy-ws-1.1.37 branch October 6, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant