{"answers":{"affected":"2 open source packages ship an affected version, including @graphql-tools/utils.","exploited":"There is no known exploitation of CVE-2026-104852 in the wild and no public exploit code.","fix":"Upgrade @graphql-tools/utils to 12.0.1 or later.","what":"CVE-2026-104852 is a high-severity code injection vulnerability in ardatan graphql-tools, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-104852 and fix it if it is affected.\n\nWhat it is: CVE-2026-104852 is a high-severity code injection vulnerability in ardatan graphql-tools, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-104852 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @graphql-tools/utils (npm): affected all versions; fixed in 12.0.1\n- @graphql-tools/utils (npm): affected all versions; fixed in 12.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-104852/ (Markdown: https://insights.sbomify.com/CVE-2026-104852/index.md)","id":"CVE-2026-104852","markdown":"https://insights.sbomify.com/CVE-2026-104852/index.md","name":"CVE-2026-104852","record":{"aliases":["CLSA-2026-1791291395","CLSA-2026-1792937883","CLSA-2026-1793018204","CLSA-2026-1793019970","CLSA-2026-1793020728","CLSA-2026-1793021479","CLSA-2026-1793022219","CLSA-2026-1793023448","CLSA-2026-1793047049","CLSA-2026-1793047143","CLSA-2026-1793047238","CLSA-2026-1793113090","CLSA-2026-1793113298","GHSA-7mx3-vvmw-hjmv","MINI-vwq5-23j3-wg35","ROOT-APP-NPM-CVE-2026-104852"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GraphQL Tools library","requires_auth":"none","summary":"An attacker can exploit prototype pollution in GraphQL Tools to overwrite Function.prototype.call, leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`","id":"CVE-2026-104852","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"Nx: Path traversal in nx migrate package-migrations extraction","id":"CVE-2026-104853"},"packages":[{"ecosystem":"npm","fixed":["12.0.1"],"introduced":["0"],"last_affected":[],"package":"@graphql-tools/utils","purl":null,"source":"GHSA-7mx3-vvmw-hjmv"},{"ecosystem":"npm","fixed":["12.0.1"],"introduced":["0"],"last_affected":[],"package":"@graphql-tools/utils","purl":"pkg:npm/%40graphql-tools/utils","source":"GHSA-7mx3-vvmw-hjmv"}],"prev":{"headline":"fsspec: Server-Side Template Injection in ReferenceFileSystem leads to Remote Code Execution","id":"CVE-2026-104851"},"products":["graphql-tools"],"published":"2026-10-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["ardatan"]},"summary":"An attacker can exploit prototype pollution in GraphQL Tools to overwrite Function.prototype.call, leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-104852/"}