{"id":"CVE-2026-104852","published":"2026-10-05T22:56:43Z","modified":"2026-10-06T14:48:02Z","title":"GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`","vendor":"ardatan","product":"graphql-tools","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00566,"percentile":0.40723,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/ardatan/graphql-tools/security/advisories/GHSA-7mx3-vvmw-hjmv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ardatan/graphql-tools/pull/8423","tags":["x_refsource_MISC"]},{"url":"https://github.com/graphql-hive/gateway/pull/2600","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/commit/0b9529f1988fd36186a7c106a6efe0356f1b7f2e","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/utils@12.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.14},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"ardatan","affectedVersions":[{"vendor":"ardatan","product":"graphql-tools","versions":["< 12.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-06T14:34:12.166588Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@graphql-tools/utils","vulnerableRanges":["<12.0.1"],"patched":["12.0.1"],"from":["GHSA-7mx3-vvmw-hjmv"],"provenance":"source"}],"summary":{"text":"GraphQL Tools' utils package, specifically its mergeDeep function, does not exclude __proto__, constructor, or prototype keys during recursive merging, which allows prototype pollution. An unauthenticated remote client can exploit this by aliasing fields so that responses from two subgraphs collide during supergraph result merging, overwriting Function.prototype.call with a subgraph-supplied value and disrupting subsequent requests in the process until it is restarted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:00Z"},"euvd":{"id":"EUVD-2026-92849","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ardatan-graphql-tools-cve-2026-104852","children":[{"from":"CVE-2026-104852","to":"CVE-2026-114604","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@graphql-tools/utils","fromFixed":"12.0.1","toFixed":"12.0.2","daysApart":31},{"kind":"same-code","provenance":"machine","files":["packages/utils/src/mergeDeep.ts"],"commits":["https://github.com/ardatan/graphql-tools/commit/0b9529f1988fd36186a7c106a6efe0356f1b7f2e","https://github.com/ardatan/graphql-tools/commit/19f5b3373fd7ace0688d19950fc529ce8347952a","https://github.com/ardatan/graphql-tools/commit/20d36a5c6eb8fd5524420988e01a48618c450d70"],"basis":"shared function","functions":["mergeDeep"]}]}],"packageHistory":[{"cve":"CVE-2026-104852","published":"2026-10-05","fixed":"12.0.1","kev":false},{"cve":"CVE-2026-114604","published":"2026-11-05","fixed":"12.0.2","kev":false}],"package":"npm:@graphql-tools/utils"}}