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
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
Description
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.
| Product | Versions |
|---|---|
| graphql-core graphql-python | 3.2.12 to before 3.2.14 Affected3.3.0rc1 to before 3.3.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- https://github.com/graphql-python/graphql-core/commit/f9a7ac64c06fb7957005199e6153ad1c16496c70Patch
- https://github.com/graphql-python/graphql-core/commit/b7e3305e0a96d5b02a600355f56157ca29a94851Patch
- graphql-core v3.3.2 Release NotesRelease Notes
- graphql-core v3.2.14 Release NotesRelease Notes
- https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/lexer.py#L84-L110Technical Details
- https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/parser.py#L1479-L1507Technical Details
- VulnCheck Advisory: 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 RunsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.