Vulnerability DatabaseGHSA-f7xj-6695-ww2q

GHSA-f7xj-6695-ww2q: 
Rust vulnerability analysis and mitigation

Audit finding RUN-2 (2026-11-09 audit, follow-up deep pass), severity medium. Audited revision b7c8030f; line numbers refer to it. Static reading with upstream documentation; nothing was executed. Reproduce with a failing test before changing code.

Problem

The generated ORDER BY term is (SELECT COUNT(*) FROM <target> WHERE <key join>) with no target visibility predicate, entity-access check or relation read_policy check. A caller who can list parents can order by ChildCount and learn relative counts of children they cannot read. Opt-in attribute; no effect when PostgreSQL RLS covers the target.

Where

crates/graphql-orm-macros/src/entity.rs:4180-4261, emitted at :5726

Suggested fix

Reject order_aggregate with read_policy; at request time check target access and AND the SQL visibility predicate into the count, failing closed for callback-only policies as relation(filter) does.

Acceptance

  • A regression test fails before the change and passes after it.
  • Docs and changelog state the corrected behaviour. Filed as a private draft advisory.

Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-gp5v-m67f-gmgpHIGHN/A
  • Rust logoRust
  • deep-diff-forge-cli
NoYesNov 10, 2026
GHSA-rrfc-2x66-j7xhMEDIUMN/A
  • Rust logoRust
  • hatchzip
NoYesNov 10, 2026
GHSA-f7xj-6695-ww2qMEDIUMN/A
  • Rust logoRust
  • graphql-orm
NoYesNov 10, 2026
GHSA-439h-2cx8-xwgxHIGHN/A
  • Rust logoRust
  • graphql-orm-backup
NoYesNov 10, 2026
GHSA-3qf7-j9r6-6qv3HIGHN/A
  • Rust logoRust
  • graphql-orm-router
NoYesNov 10, 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