GHSA-7mx3-vvmw-hjmv

Suggest an improvement
Source
https://github.com/advisories/GHSA-7mx3-vvmw-hjmv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7mx3-vvmw-hjmv/GHSA-7mx3-vvmw-hjmv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7mx3-vvmw-hjmv
Aliases
  • CVE-2026-104852
Published
2026-10-05T22:56:46Z
Modified
2026-10-05T23:15:03Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`
Details

Closed by https://github.com/ardatan/graphql-tools/pull/8423 Mitigated in Hive Gateway by https://github.com/graphql-hive/gateway/pull/2600

A client can alias fields to constructor, __proto__ or prototype so that the response keys from two subgraphs collide on those names during result merging. Because mergeDeep recursed through inherited properties, the merge walked {}.constructor to Object, then Object.__proto__ to Function.prototype, and wrote a subgraph-supplied value over Function.prototype.call, breaking every subsequent request in the process until restart. This is remotely triggerable by an unauthenticated client with a single query against any supergraph that merges an object from two subgraphs, which is the ordinary @shareable or entity case, so it is a denial of service rather than a theoretical hardening issue.

{
  shared {
    fieldA
    constructor: fieldB {
      __proto__: child {
        call: value
      }
    }
  }
}
Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-05T22:56:46Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / @graphql-tools/utils

Package

Name
@graphql-tools/utils
View open source insights on deps.dev
Purl
pkg:npm/%40graphql-tools/utils

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
12.0.1

Database specific

last_known_affected_version_range
"<= 12.0.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7mx3-vvmw-hjmv/GHSA-7mx3-vvmw-hjmv.json"