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.
https://github.com/graphql-python/graphql-core/releases/tag/v3.3.2
https://github.com/graphql-python/graphql-core/releases/tag/v3.2.14
https://github.com/graphql-python/graphql-core/commit/f9a7ac64c06fb7957005199e6153ad1c16496c70
https://github.com/graphql-python/graphql-core/commit/b7e3305e0a96d5b02a600355f56157ca29a94851
https://github.com/graphql-python/graphql-core/blob/v3.3.1/src/graphql/language/lexer.py#L84-L110
Published: 2026-11-22
Updated: 2026-11-23
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Severity: Medium
Base Score: 6.9
Vector: 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
Severity: Medium
EPSS: 0.00645