Intel

AIKIDO-2025-10222

graphql-query-complexity is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 9, 2025
April 9, 2025

55

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package do not limit the maximum number of query nodes, which may allow overly complex queries to consume excessive resources and potentially cause resource exhaustion. A new option introduces a safeguard by capping the number of query nodes per query, with a default limit of 10,000—sufficient for most typical use cases.

How do I fix this?

Upgrade the graphql-query-complexity library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.1.0 - 1.0.0

Fixed in 1.1.0

Background info

graphql-query-complexity is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 1.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea