Vulnerability DatabaseGHSA-qg9m-hhhf-rqjc

GHSA-qg9m-hhhf-rqjc: 
Rust vulnerability analysis and mitigation

Summary

The runtime validates every operation in a client document before honoring operationName. Per-operation variable validation traverses the same shared fragment from scratch, so a document with M operations and a fragment of N fields forces O(M×N) work even when only one trivial operation will execute.

Details

Whole-document validation precedes operation selection, and unused-variable validation rewalks shared fragment contents separately for each operation with a new visited-fragment set. No aggregate validation-work budget bounds the repeated traversal.

Source locations

Remediation

Enforce a total validation-work or token budget before full-document validation. Cache fragment analyses safely across operations where operation-specific variable rules permit, or reject documents exceeding a configured operation and selection count. Finding ID: csf_fa0eae55b494450b65be77e4 Primary fingerprint: codex-security/v1:sha256:c1bf4e6befaa8e6f7811ac720cb4d1896026c62ae1ea11c15d8d6962213e925b Source revision: c70a100fae8068a9dd3dd5a76608adf2d6d9f2ca

Proof of concept

A document can contain one selected trivial query and many uniquely named unselected queries spreading a shared shallow fragment with many aliased fields. validate_operation_definitions visits all operations; validate_unused_variables walks that fragment anew per operation, giving O(M×N) work for O(M+N) document size. An invalid-argument variant also emits a diagnostic per shared field on each operation, so a compact document can produce O(M×N) errors. Inspect the linked paths at commit c70a100fae8068a9dd3dd5a76608adf2d6d9f2ca. This scan did not execute an exploit or test a deployed service.

Impact

A public GraphQL caller can create a small, shallow, schema-valid request with many named operations sharing a large fragment. Repeated pre-dispatch traversal can monopolize CPU without requiring expensive application resolvers; the provided example servers bind loopback and production controls are unknown. Prerequisites: The runtime and adapters accept caller-controlled GraphQL documents with operationName; the repeated validation occurs before dispatch even when the selected operation is cheap. Validation limits: No application execution or timing benchmark was performed; public deployment was not supplied.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-gfq6-89vx-q4j7CRITICAL9.3
  • Rust logoRust
  • zip
NoNoNov 16, 2026
GHSA-cm63-4mhh-887hCRITICAL9.2
  • Rust logoRust
  • zip
NoYesNov 16, 2026
GHSA-4963-ggxm-v64xMEDIUM6.9
  • Rust logoRust
  • zip
NoYesNov 16, 2026
GHSA-qg9m-hhhf-rqjcHIGHN/A
  • Rust logoRust
  • reed-compiler
NoYesNov 16, 2026
GHSA-4q2p-cw9r-mwxmLOWN/A
  • Rust logoRust
  • static-web-server
NoYesNov 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management