Uncontrolled Recursion Affecting hotchocolate.language package, versions [,12.22.7)[13.0.0,13.9.16)[14.0.0,14.3.1)[15.0.0,15.1.14)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-HOTCHOCOLATELANGUAGE-16114944
  • published21 Apr 2026
  • disclosed16 Apr 2026
  • creditUnknown

Introduced: 16 Apr 2026

NewCVE-2026-40324  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade HotChocolate.Language to version 12.22.7, 13.9.16, 14.3.1, 15.1.14 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the Utf8GraphQLParser parser. An attacker can cause the application to terminate unexpectedly and disrupt all active services by submitting a crafted GraphQL document with deeply nested selection sets, object values, list values, or list types, leading to a stack overflow during parsing. This occurs before any validation rules are applied, making it impossible for standard validation mechanisms to intercept the issue.

CVSS Base Scores

version 4.0
version 3.1