Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134795: medium-severity vulnerability (CVSS 6.9) in graphql-python graphql-core.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.9.
Affected products and versions
graphql-python graphql-core >= 3.2.12, < 3.2.14; graphql-python graphql-core >= 3.3.0rc1, < 3.3.2
| Product | Versions | Fixed in |
|---|---|---|
| graphql-python graphql-core | >= 3.2.12, < 3.2.14 | — |
| graphql-python graphql-core | >= 3.3.0rc1, < 3.3.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/graphql-python/graphql-core/commit/f9a7ac64c06fb7957005199e6153ad1c16496c70 — CVE Program
- https://github.com/graphql-python/graphql-core/commit/b7e3305e0a96d5b02a600355f56157ca29a94851 — CVE Program
- https://github.com/graphql-python/graphql-core/releases/tag/v3.3.2 — CVE Program
- https://github.com/graphql-python/graphql-core/releases/tag/v3.2.14 — CVE Program
- https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/lexer.py#L84-L110 — CVE Program
- https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/parser.py#L1479-L1507 — CVE Program
- 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 — CVE Program
Weaknesses (CWE): CWE-770
Relevant change history
Published
Preliminary advisory published.