GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit
CVE-2026-75508Published 22 Oct 2026, 16:10 UTC
Real-world risk
3.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
GraphQL-core is a Python port of the GraphQL.js reference implementation. From 3.2.3 until 3.2.12 and 3.3.0rc1, the parser's max_tokens limit in Parser.advance_lexer counts only non-comment tokens returned after Lexer.lookahead skips comments. Each skipped comment is still allocated as a Token and retained through token.next and token.prev, allowing a highly compressible comment-padded GraphQL document to pass a low token limit while consuming memory. An unauthenticated remote attacker can exhaust worker memory before AST-based depth or complexity controls run. This issue is fixed in versions 3.2.12 and 3.3.0rc1.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| graphql-coreNiche | >= 3.2.3, < 3.2.12; >= 3.3.0a3, < 3.3.0rc1 | 3.2.12, 3.3.0rc1 |
What to do
Update to a fixed version: 3.2.12, 3.3.0rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.6% chance of exploitation in 30 days (percentile 51), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 1 × threat 0.953.800
- Rounded to one decimal between 0.1 and 103.8
Exploitation and evidence timeline
- 22 Oct 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.8 (cvss fallback)
Weakness
CWE-400, CWE-770
References
- https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8exploit, vendor-advisory
- https://github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76787c5a5bad875amisc
- https://github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae76771a1c91002dmisc
- https://github.com/graphql-python/graphql-core/releases/tag/v3.2.12misc
- https://github.com/graphql-python/graphql-core/releases/tag/v3.3.0rc1misc
- CVE-2026-75508 on CVE.org