Allocation of Resources Without Limits or Throttling Affecting graphql-core package, versions [3.2.12,3.2.14)[3.3.0rc1,3.3.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.65% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GRAPHQLCORE-22744133
  • published23 Nov 2026
  • disclosed22 Nov 2026
  • creditZachariah Mithani

Introduced: 22 Nov 2026

NewCVE-2026-134795  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade graphql-core to version 3.2.14, 3.3.2 or higher.

Overview

graphql-core is a GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via Lexer.lookahead in the parser's max_tokens enforcement logic. An attacker can submit a GraphQL document consisting of a long run of consecutive comments, which Lexer.lookahead fully tokenizes and allocates before the max_tokens limit check is applied, consuming CPU and memory proportional to the document size. This allows an unauthenticated attacker to bypass the parser's token budget and trigger resource exhaustion.

CVSS Base Scores

version 4.0
version 3.1