HIGH 7.5 GitHub
CVE-2026-75508
GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit
### Summary
The parser's `max_tokens` limit — the documented defence against oversized GraphQL
documents — did not count comment tokens. A document padded with comments could
therefore pass a `max_tokens` check of any size while still allocating one `Token`
object per comment, all of which stay reachable for the lifetime of the parsed
document. A 38 MB comment-padded payload allocated roughly 92 MB of additional
resident memory with `max_tokens=5` in force.
### Details
`Lexer.lookahead()` rea
Affected Products
- pip/graphql-core >= 3.2.3, < 3.2.12
- pip/graphql-core >= 3.3.0a3, < 3.3.0rc1
References
- https://github.com/advisories/GHSA-r77w-qph3-7vf8
- https://github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8
- https://github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76787c5a5bad
- https://github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae76771a1c91
This high severity vulnerability with a CVSS score of 7.5 was published on 2026-10-22 via GitHub. Affected: pip/graphql-core >= 3.2.3, < 3.2.12, pip/graphql-core >= 3.3.0a3, < 3.3.0rc1.
vulnfeed aggregates 17299 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.