# GHSA-PXQR-744H-RVVX: Denial of Service and Cost Analysis Bypass in Variable Coercion

- Database: GitHub
- Severity: CVSS 9.1 (Critical)
- Published: 2026-10-30
- Modified: 2026-10-30

## Affected versions

- HotChocolate.Types (NuGet): from 16.0.0, fixed in 16.7.3
- HotChocolate.Fusion.Execution (NuGet): from 16.0.0, fixed in 16.7.3
- HotChocolate.AspNetCore (NuGet): from 16.0.0, fixed in 16.7.3
- HotChocolate.Fusion.AspNetCore (NuGet): from 16.0.0, fixed in 16.7.3

## Description

### Summary

Hot Chocolate 16 can check a different value for an input object in the `variables` of a request than the value it executes. Variable validation and cost analysis then do not apply to the value that resolvers and middleware receive. On a Fusion gateway, variable validation can also miss a missing required input field, and the gateway passes the value on to the source schema. This affects every Hot Chocolate 16 server and Fusion gateway whose schema has input object arguments.

Combined with sorting from `HotChocolate.Data`, the flaw allows a denial of service: a single request within the default cost limits can make the server overflow the stack and terminate. An application is affected by the denial of service when all of the following hold:

* It runs a Hot Chocolate server (`AddGraphQLServer()`, `AddGraphQL()`, or `AddGraphQLFunction()` with Azure Functions).
* A field uses sorting (`[UseSorting]` or `UseSorting()`) and resolves an `IQueryable<T>` or `IEnumerable<T>`, for example an Entity Framework Core `DbSet<T>` or an in-memory collection.
* A client can pass the sort argument through a variable. This is the default. Applications that only execute persisted operations are affected only if a persisted operation passes the sort argument as a variable.

The default configuration is affected once a sorted field exists.

### Fixed Versions

* 16.7.3

### Impact

An unauthenticated client can terminate the server process with one request that stays within the default request size and cost limits. A stack overflow cannot be caught in .NET, so all in-flight requests on that process are dropped and the process must be restarted. The attacker needs the name of a sorted field and its sort input type, which introspection or client code usually reveals.

Independently of sorting, variable validation and cost analysis are not reliable for input object variables. Resolvers still receive a value of the declared type, but some invalid values are reported as field errors instead of rejecting the request.

This issue is classified as **CWE-694: Use of Multiple Resources with Duplicate Identifier**.

### Recommendation

Upgrade to 16.7.3 or later. Resolvers and middleware then receive the same input object value that variable validation and cost analysis checked, and a Fusion gateway rejects every input object variable that is missing a required field. There are no new options.

There is no workaround. Applications must upgrade.

## References

- https://github.com/ChilliCream/graphql-platform/security/advisories/GHSA-pxqr-744h-rvvx

Page: https://cve.now/GHSA-PXQR-744H-RVVX

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
