CVE-2026-114604
GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. From 10.10.1 until 12.0.2, the @graphql-tools/utils mergeIncrementalResult helper passes incrementalResult.path segments to setObjectKeyPath without runtime primitive-type validation. A non-primitive segment can bypass strict comparisons against __proto__, constructor, and prototype, then be coerced during property access so a malicious or compromised upstream incremental GraphQL response writes attacker-controlled properties to Object.prototype in the consuming Node.js process. The affected implementation is packages/utils/src/mergeIncrementalResult.ts and is reachable when consumers merge untrusted @defer or @stream transport results. This issue is fixed in version 12.0.2.
Fixes and workarounds
Fix
@graphql-tools/utils (npm): GitHub reports patched versions >=12.0.2. Check the advisory for the affected release branch.
Source: GitHub GHSA-c4qx-w738-7hr3Fix
@graphql-tools/utils (npm): OSV reports a fixed version 12.0.2. Check the advisory for supported release branches.
Source: OSV GHSA-c4qx-w738-7hr3Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| graphql-tools ardatan |
>= 10.10.1, < 12.0.2 (affected) | CNA: GitHub_M |
@graphql-tools/utils@graphql-tools/utils
npm |
>=10.10.1 <=12.0.1 (affected, GitHub advisory range) | GitHub GHSA-c4qx-w738-7hr3 |
@graphql-tools/utils@graphql-tools/utils
npm |
≥ 10.10.1; < 12.0.2 (affected, semver); OSV events: introduced 10.10.1; fixed 12.0.2Source events (semver)
Other versions: unaffected |
OSV GHSA-c4qx-w738-7hr3 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 8.4 high |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N | CNA: GitHub_M |
| 4.0 / 8.4 high |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
Exploit evidence
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-c4qx-w738-7hr3
exploit · ADP: CISA-ADP
References
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-c4qx-w738-7hr3CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/ardatan/graphql-tools/pull/8467CNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/commit/19f5b3373fd7ace0688d19950fc529ce8347952aCNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/commit/20d36a5c6eb8fd5524420988e01a48618c450d70CNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]CNA: GitHub_M · x_refsource_MISC
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-c4qx-w738-7hr3ADP: CISA-ADP · exploit
- https://github.com/ardatan/graphql-tools/commit/19f5b3373fd7ace0688d19950fc529ce8347952a[email protected]
- https://github.com/ardatan/graphql-tools/commit/20d36a5c6eb8fd5524420988e01a48618c450d70[email protected]
- https://github.com/ardatan/graphql-tools/pull/8467[email protected]
- https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected][email protected]
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-c4qx-w738-7hr3[email protected]
- https://github.com/ardatan/graphql-tools/security/advisories/GHSA-c4qx-w738-7hr3GitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-c4qx-w738-7hr3OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-c4qx-w738-7hr3OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.