RUSTSEC-2026-0416High· 7.5▾ TwilightStack overflow on deeply nested GraphQL documents
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
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.
juniper >= 0.0.0-0, < 0.17.2Upgrade to a patched release:
juniper 0.17.2Connected by shared product, vendor, weakness, or advisory.
RUSTSEC-2026-0417High· 7.5Excessive CPU and memory use on crafted GraphQL documents
CVE-2022-31173High· 7.5Denial of service on deeply nested fragment requests
CVE-2025-60009Medium· 6.1An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Juniper Networks Junos Space allows an attacker to inject script tags in the CLI Configlet page that, when visited by another us…
CVE-2025-60002Medium· 6.1An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Juniper Networks Junos Space allows an attacker to inject script tags in the Template Definitions page that, when visited by another…
CVE-2025-60000Medium· 6.1An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Juniper Networks Junos Space allows an attacker to inject script tags in the Generate Report page that, when visited by another user…
CVE-2025-59999Medium· 6.1An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Juniper Networks Junos Space allows an attacker to inject script tags in the API Access Profiles page that, when visited by another …