# CVE-2026-104852: GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-10-05T22:56:43.779Z
- Modified: 2026-10-06T15:17:13.110Z
- Also known as: GHSA-7mx3-vvmw-hjmv
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ardatan graphql-tools: < 12.0.1
- @graphql-tools/utils (npm): before 12.0.1

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/ardatan/graphql-tools/security/advisories/GHSA-7mx3-vvmw-hjmv> (web)
- <https://github.com/ardatan/graphql-tools/pull/8423> (web)
- <https://github.com/graphql-hive/gateway/pull/2600> (web)
- <https://github.com/ardatan/graphql-tools/commit/0b9529f1988fd36186a7c106a6efe0356f1b7f2e> (web)
- <https://github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/utils@12.0.1> (web)
- <https://github.com/ardatan/graphql-tools> (package)

## Sources

- CVE List: [CVE-2026-104852](https://www.cve.org/CVERecord?id=CVE-2026-104852), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-7mx3-vvmw-hjmv](https://github.com/advisories/GHSA-7mx3-vvmw-hjmv), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-104852](https://nvd.nist.gov/vuln/detail/CVE-2026-104852), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-104852 · Whole record: https://cve.day/CVE-2026-104852.json · Rebuilt by cve.day 2026-11-25T22:59:42.192Z
