一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月6日

CVE-2026-104852 – GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Pri

未分类
📑 文章目录

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.