Skip to main content

graphql-core CVE-2026-134795

| EUVDEUVD-2026-132868 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-22 VulnCheck GHSA-5pww-59wv-hj9w
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send GraphQL document to parser endpoint
  2. Delivery
    Pad document with long run of consecutive comments
  3. Exploit
    Lexer.lookahead tokenizes entire run before max_tokens check
  4. Execution
    Consume CPU and memory proportional to size
  5. Impact
    Degrade 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

graphql-core 3.3.0rc1 <3.3.2
graphql-core 3.2.12 <3.2.14

Affected Packages

euvd graphql_core fix: 3.2.14, 3.3.2

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.8%
Top 41% exploitable
Prevalence
Medium
core GraphQL engine behind most Python GraphQL servers (e.g. Graphene), but GraphQL is a subset of deployments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy