RUSTSEC-2026-0416 Stack overflow on deeply nested GraphQL documents

Not scored Published
Exploited in the wild
Not known
Fix
Available

What is RUSTSEC-2026-0416?

RUSTSEC-2026-0416 is a vulnerability in juniper, published on 28 Oct 2026.

Official description

The parser of juniper called itself once for each level of nesting in a GraphQL document. The parser had no limit on the nesting depth. Deeply nested selection sets, input values, and list types thus overflowed the stack of the thread that parsed the document. Validation and execution followed fragment spreads in the same recursive way. Long chains of fragment spreads thus overflowed the stack in validation and execution.

A stack overflow aborts the whole process. One request can thus stop a server and drop all other requests in progress. The request needs no authentication.

juniper 0.17.2 rejects documents that nest deeper than 64 levels or contain more than 15,000 tokens. RootNode::limit_depth() and RootNode::limit_tokens() change the limits.

Which versions are affected by RUSTSEC-2026-0416?

1 open source package ship an affected version, including juniper.

PackageAffectedFixed in
juniper crates.ioFrom 0.0.0-00.17.2

How do I fix RUSTSEC-2026-0416?

Upgrade juniper to 0.17.2 or later.

Is RUSTSEC-2026-0416 being exploited?

There is no known exploitation of RUSTSEC-2026-0416 in the wild and no public exploit code.

Sources

Also known as GHSA-34cw-x8g7-rcv5.

Is RUSTSEC-2026-0416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free