GHSA-7MX3-VVMW-HJMV
Vulnerability from github – Published: 2026-10-05 22:56 – Updated: 2026-10-05 22:56Closed 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
}
}
}
}
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 12.0.0"
},
"package": {
"ecosystem": "npm",
"name": "@graphql-tools/utils"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "12.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-104852"
],
"database_specific": {
"cwe_ids": [
"CWE-1321"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-05T22:56:46Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "Closed by https://github.com/ardatan/graphql-tools/pull/8423\nMitigated in Hive Gateway by https://github.com/graphql-hive/gateway/pull/2600\n\nA 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.\n\n\n```graphql\n{\n shared {\n fieldA\n constructor: fieldB {\n __proto__: child {\n call: value\n }\n }\n }\n}\n```",
"id": "GHSA-7mx3-vvmw-hjmv",
"modified": "2026-10-05T22:56:47Z",
"published": "2026-10-05T22:56:46Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/ardatan/graphql-tools/security/advisories/GHSA-7mx3-vvmw-hjmv"
},
{
"type": "WEB",
"url": "https://github.com/ardatan/graphql-tools/pull/8423"
},
{
"type": "WEB",
"url": "https://github.com/graphql-hive/gateway/pull/2600"
},
{
"type": "WEB",
"url": "https://github.com/ardatan/graphql-tools/commit/0b9529f1988fd36186a7c106a6efe0356f1b7f2e"
},
{
"type": "PACKAGE",
"url": "https://github.com/ardatan/graphql-tools"
},
{
"type": "WEB",
"url": "https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/utils@12.0.1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.