CVE-2026-134795
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
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- 0.65% (p46)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-23
- Product
- graphql-python graphql-core
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
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.
Fixed in
3.2.14 · 3.3.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | graphql-core | >=3.2.12, <3.2.14 | 3.2.14 |
| vendor | graphql-core | >=3.3.0rc1, <3.3.2 | 3.3.2 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/graphql-python/graphql-core/commit/f9a7ac64c06fb7957005199e6153ad1c16496c70 patch
- https://github.com/graphql-python/graphql-core/commit/b7e3305e0a96d5b02a600355f56157ca29a94851 patch
- https://github.com/graphql-python/graphql-core/releases/tag/v3.3.2 release-notes
- https://github.com/graphql-python/graphql-core/releases/tag/v3.2.14 release-notes
- https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/lexer.py#L84-L110 technical-description
- https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/parser.py#L1479-L1507 technical-description
- 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 third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134795.json advisory
- https://github.com/graphql-python/graphql-core package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134795 advisory