Visit the Wiz Whimzical Shop at AWS re:Invent
Vulnerability DatabaseGHSA-cqjm-xhf9-q2m4

GHSA-cqjm-xhf9-q2m4: 
Rust vulnerability analysis and mitigation

Summary

A caller of the public GraphQL runtime can pass a deeply nested JsonMap for a valid nullable recursive input type. Variable coercion recursively clones and visits each nested object without a depth check, which can exhaust the process stack before resolver execution.

Details

Request::with_variables accepts a caller-created JsonMap. Request preparation sends it into coerce_variable_value, which deep-clones an input object and recursively calls itself for each nested field without tracking depth. Schema validation permits nullable recursive input links, so a finite but very deep value can reach this path.

Source locations

Remediation

Limit input-variable nesting depth during coercion and return a request error when the limit is exceeded. Finding ID: csf_7750870ff6c9d3a6f86208ea Primary fingerprint: codex-security/v1:sha256:ab209dd0d80bde0ebee70cbdca4ce34230676b8f05bd2251f8083713caaa8749 Source revision: c70a100fae8068a9dd3dd5a76608adf2d6d9f2ca

Proof of concept

For a schema with a nullable self-referential input object, a directly supplied nested JsonMap reaches repeated coerce_variable_value calls before resolver dispatch. The code has no depth guard on this path. Inspect the linked paths at commit c70a100fae8068a9dd3dd5a76608adf2d6d9f2ca. This scan did not execute an exploit or test a deployed service.

Impact

Stack exhaustion could terminate a process, but the supported attack boundary is direct library input. The supplied HTTP extractors use JSON deserialization, and their ability to accept extreme depth was not established; exploitation needs an integration that constructs or accepts unusually deep values. Prerequisites: The attacker must control the variables supplied to a library integration using a nullable recursive input schema; ordinary HTTP depth acceptance is unproven. Validation limits: No runtime stack threshold or actual process crash was measured. Exposure depends on an integration that supplies unusually deep in-memory variables to this public API.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-w972-8m6f-772mHIGH7.5
  • Rust logoRust
  • zip
NoYesNov 30, 2026
CVE-2026-140014MEDIUM6.5
  • Rust logoRust
  • cookie
NoYesNov 30, 2026
GHSA-cqjm-xhf9-q2m4LOWN/A
  • Rust logoRust
  • reed-compiler
NoYesNov 30, 2026
GHSA-6qq4-4fc2-69v4MEDIUMN/A
  • Rust logoRust
  • reed-compiler
NoYesNov 30, 2026
GHSA-2q5f-w9jv-ghvgMEDIUMN/A
  • Rust logoRust
  • reed-compiler
NoYesNov 30, 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