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
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 maxtokens 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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An unauthenticated remote attacker can exploit it by submitting a GraphQL document containing a long consecutive run of comments. No privileges or user interaction are required.
Does configuring the parser max_tokens limit prevent exploitation?
No. The vulnerability allows long comment runs to bypass the parser max_tokens limit because Lexer.lookahead fully tokenizes them before the limit checks occur.
What is the practical impact on an affected service?
Processing a crafted GraphQL document can consume CPU and memory proportional to the document size, causing a denial of service.
Which graphql-core versions are affected and which versions contain fixes?
Affected versions are graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2. The fixed versions identified are 3.2.14 and 3.3.2.