Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend GraphQL document to parser endpoint
-
DeliveryPad document with long run of consecutive comments
-
ExploitLexer.lookahead tokenizes entire run before max_tokens check
-
ExecutionConsume CPU and memory proportional to size
-
ImpactDegrade or deny service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires only that the application parses attacker-supplied GraphQL documents with graphql-core 3.2.12-3.2.13 or 3.3.0rc1-3.3.1 - a standard GraphQL server configuration. No authentication, user interaction, or non-default setting is needed (AV:N/AC:L/PR:N/UI:N). Critically, the parser's max_tokens limit - the intended safeguard against this exact class of DoS - does NOT limit exploitation, because comment runs are fully tokenized by Lexer.lookahead before the limit is enforced; an application relying on max_tokens for protection is still vulnerable. The main factors limiting real-world impact are that the effect is availability-only (VA:L: resource consumption bounded by the size of the document the attacker can submit, so request-size caps or upstream body-size limits meaningfully constrain it) and that upgrading to a fixed version fully removes the bypass. |
| Impact | This is a real but moderate-priority issue, best treated as a bug-fix rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote, unauthenticated, low-complexity reachability, but the only impact metric set is VA:L - a limited availability/resource-exhaustion effect with no confidentiality or integrity impact (score 6.9). The vuln.today decision label is 'this_month', not act_now or emergency, which is consistent with a DoS that degrades a service rather than compromising it. This is NOT in CISA KEV (no confirmed active exploitation), and no EPSS score was supplied, so widespread exploitation probability cannot be quantified from the input. No separately labeled PoC/exploit reference is present; however, the fix commit (f9a7ac6) includes a regression test that trivially reproduces the trigger (parse('#\n' * 10_000 + '{ a }', max_tokens=5)), so the mechanism is publicly demonstrated even though no weaponized exploit is identified. The notable nuance is that this flaw specifically defeats the max_tokens safeguard that defenders may have deployed precisely to prevent parser DoS - so operators who believe they are protected by max_tokens are not, against comment-run payloads. Net: a genuine, easily reachable DoS worth patching on a normal cycle, but not a drop-everything incident given availability-only, low impact and no KEV/active-exploitation signal. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a GraphQL document consisting of tens of thousands of consecutive comment lines (e.g. '#\n' repeated) to any exposed graphql-core parsing endpoint. Because Lexer.lookahead fully tokenizes the entire comment run before the parser's max_tokens limit is checked, the server allocates one token per comment and burns CPU and memory proportional to document size, degrading or denying service. No PoC is labeled in the input, but the vendor's own regression test demonstrates the trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Denial of service in graphql-core 3.2.12 through 3.2.13 and 3.3.0rc1 through 3.3.1 allows unauthenticated remote attackers to consume CPU and memory proportional to document size by submitting GraphQL documents containing long runs of consecutive comments, which Lexer.lookahead fully tokenizes before the parser's max_tokens limit is enforced. The max_tokens safeguard therefore does not constrain this attack, although the availability impact is low and is bounded by the size of the document the application accepts. No public exploit was identified at time of analysis, and the bypass is fixed in 3.2.14 and 3.3.2.
RemediationAI
Upgrade graphql-core to 3.2.14 or 3.3.2, which fully removes the bypass by enforcing max_tokens during comment skipping in the lexer; the fixes are identified by commits f9a7ac64c06fb7957005199e6153ad1c16496c70 and b7e3305e0a96d5b02a600355f56157ca29a94851 and are documented in the release notes at https://github.com/graphql-python/graphql-core/releases/tag/v3.2.14 and https://github.com/graphql-python/graphql-core/releases/tag/v3.3.2, with the VulnCheck advisory at https://www.vulncheck.com/advisories/graphql-core-3.2.12-before-3.2.14-and-3.3-0rc1-before-3.3.2-denial-of-service-via-parser-max-tokens-comment-runs. Until upgrading, do not rely on the parser max_tokens setting to stop this attack; instead cap request body size and document length at the HTTP or application layer, because the resource consumption is bounded by the size of the document accepted, while recognizing that such caps only constrain and do not eliminate the bypass. Updating is the only complete fix identified in the available data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
graphql-core is the Python reference implementation of GraphQL, and the flaw sits in its language layer where Lexer.lookahead skips comments and the Parser tracks token counts. Because a run of comments is consumed and allocated by the lexer before Parser.advance_lexer checks max_tokens, an attacker can pad a document with thousands of consecutive comments and force work that the configured token limit was meant to stop. This is CWE-770 (Allocation of Resources Without Limits or Throttling): resource use scales with attacker-controlled input instead of being capped by the parser limit. The upstream fix gives the lexer a comment budget derived from max_tokens minus the current token counter, so a comment-padded document is aborted during lookahead rather than after the whole run has been read and allocated; the change is visible in commits f9a7ac64c06fb7957005199e6153ad1c16496c70 and b7e3305e0a96d5b02a600355f56157ca29a94851 and is covered by a regression test that expects failure at the sixth comment when max_tokens is 5. The trigger is long runs of comments in a parsed GraphQL document; the supplied sources do not describe any other trigger.
Know when Graphql Core gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Remote, unauthenticated, low-complexity parsing of untrusted input (AV:N/AC:L/PR:N/UI:N); availability-only resource exhaustion bounded by document size, so A:L with no confidentiality or integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2 contains a denial of service vulnerability that allows unauthenticated attackers to bypass the parser max_tokens limit using long runs of comments. Attackers can submit GraphQL documents of consecutive comments that Lexer.lookahead fully tokenizes before limit checks, consuming CPU and memory proportional to document size.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Graphql Core
View allDenial of service in the Python GraphQL-core library (3.0.0 through 3.2.11, plus 3.3.0 pre-releases before 3.3.0rc1) let
Memory exhaustion in GraphQL-core 3.2.3 through 3.2.11 and 3.3.0a3 through 3.3.0rc0 lets a remote unauthenticated attack
Memory exhaustion in the GraphQL-core Python library affects only the 3.3.0 alpha/pre-release band (>= 3.3.0a3, < 3.3.1)
EUVD-2026-132868
GHSA-5pww-59wv-hj9w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB