CVE-2026-104852
Description
GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to 12.0.1, the GraphQL Tools utils package's mergeDeep function follows inherited properties while recursively merging source objects and does not exclude __proto__, constructor, or prototype keys. An unauthenticated GraphQL client can alias fields to those names so responses from two subgraphs collide during ordinary supergraph result merging, causing mergeDeep to traverse Object and Function prototypes and overwrite Function.prototype.call with a subgraph-supplied value. This breaks subsequent requests in the process until restart. This issue is fixed in version 12.0.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@graphql-tools/utilsnpm | < 12.0.1 | 12.0.1 |
Affected products
1- Range: <12.0.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7mx3-vvmw-hjmvghsaADVISORY
- github.com/ardatan/graphql-tools/commit/0b9529f1988fd36186a7c106a6efe0356f1b7f2envdWEB
- github.com/ardatan/graphql-tools/pull/8423nvdWEB
- github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]nvdWEB
- github.com/ardatan/graphql-tools/security/advisories/GHSA-7mx3-vvmw-hjmvnvdWEB
- github.com/graphql-hive/gateway/pull/2600nvdWEB
News mentions
0No linked articles in our index yet.