Asymmetric Resource Consumption (Amplification) in GraphQL server - #VU166240
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through CPU and memory exhaustion.
The vulnerability exists due to asymmetric resource consumption in graphql-go's overlapping-fields validation rule when comparing every pair of selections sharing a response name without a default work limit. A remote attacker can submit a malicious GraphQL query of a few tens of kilobytes to trigger validation work that grows quadratically with query size, consuming seconds of CPU time and gigabytes of memory.