Home / typelevel / grackle / CVE-2023-50730
CVE-2023-50730: is it exploited, and which versions of typelevel grackle are affected and fixed?
CVE-2023-50730 is a denial of service (uncontrolled resource consumption) vulnerability in typelevel grackle. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: org.typelevel:grackle-core_2.13 before 0.18.0, org.typelevel:grackle-core_3 before 0.18.0, org.typelevel:grackle-core_sjs1_2.13 before 0.18.0 and 9 more (GitHub advisory GHSA-g56x-7j6w-g8r8). Fixed in 0.18.0 (GitHub advisory GHSA-g56x-7j6w-g8r8). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2023-50730?
Grackle has StackOverflowError in GraphQL query processing
Grackle is a GraphQL server written in functional Scala, built on the Typelevel stack. The GraphQL specification requires that GraphQL fragments must not form cycles, either directly or indirectly. Prior to Grackle version 0.18.0, that requirement wasn't checked, and queries with cyclic fragments would have been accepted for type checking and compilation. The attempted compilation of such fragments would result in a JVM `StackOverflowError` being thrown. Some knowledge of an applications GraphQL schema would be required to construct such a query, however no knowledge of any application-specific performance or other behavioural characteristics would be needed. Grackle uses the cats-parse library for parsing GraphQL queries. Prior to version 0.18.0, Grackle made use of the cats-parse `recursive` operator. However, `recursive` is not currently stack safe. `recursive` was used in three places in the parser: nested selection sets, nested input values (lists and objects), and nested list type declarations. Consequently, queries with deeply nested selection sets, input values or list types could be constructed which exploited this, causing a JVM `StackOverflowException` to be thrown during parsing. Because this happens very early in query processing, no specific knowledge of an applications GraphQL schema would be required to construct such a query. The possibility of small queries resulting in stack overflow is a potential denial of service vulnerability. This potentially affects all applications using Grackle which have untrusted users. Both stack overflow issues have been resolved in the v0.18.0 release of Grackle. As a workaround, users could interpose a sanitizing layer in between untrusted input and Grackle query processing.
From the CVE record by GitHub_M, last updated August 2, 2024, 22:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| typelevel | grackle | < 0.18.0 |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.typelevel:grackle-core_2.13 | < 0.18.0 | 0.18.0 | GHSA-g56x-7j6w-g8r8 |
| Maven | org.typelevel:grackle-core_3 | < 0.18.0 | 0.18.0 | GHSA-g56x-7j6w-g8r8 |
| Maven | org.typelevel:grackle-core_sjs1_2.13 | < 0.18.0 | 0.18.0 | GHSA-g56x-7j6w-g8r8 |
| Maven | org.typelevel:grackle-core_sjs1_3 | < 0.18.0 | 0.18.0 | GHSA-g56x-7j6w-g8r8 |
| Maven | org.typelevel:grackle-core_native0.4_2.13 | < 0.18.0 | 0.18.0 | GHSA-g56x-7j6w-g8r8 |
| Maven | org.typelevel:grackle-core_native0.4_3 | < 0.18.0 | 0.18.0 | GHSA-g56x-7j6w-g8r8 |
| Maven | edu.gemini:gsp-graphql-core_2.13 | <= 0.14.0 | none listed | GHSA-g56x-7j6w-g8r8 |
| Maven | edu.gemini:gsp-graphql-core_3 | <= 0.14.0 | none listed | GHSA-g56x-7j6w-g8r8 |
| Maven | edu.gemini:gsp-graphql-core_sjs1_2.13 | <= 0.14.0 | none listed | GHSA-g56x-7j6w-g8r8 |
| Maven | edu.gemini:gsp-graphql-core_sjs1_3 | <= 0.14.0 | none listed | GHSA-g56x-7j6w-g8r8 |
| Maven | edu.gemini:gsp-graphql-core_native0.4_2.13 | <= 0.14.0 | none listed | GHSA-g56x-7j6w-g8r8 |
| Maven | edu.gemini:gsp-graphql-core_native0.4_3 | <= 0.14.0 | none listed | GHSA-g56x-7j6w-g8r8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 22, 2023. Summary: Grackle has StackOverflowError in GraphQL query processing.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| typelevel | grackle | before 0.18.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:39 UTC.
How severe is CVE-2023-50730?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-50730 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.83% probability of exploitation activity in the next 30 days, percentile 58.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/typelevel/grackle/security/advisories/GHSA-g56x-7j6w-g8r8 x_refsource_CONFIRM
- https://github.com/typelevel/grackle/commit/56e244b91659cf385df590fc6c46695b6f36cbfd x_refsource_MISC
- https://github.com/typelevel/grackle/releases/tag/v0.18.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 11, 2023
- Published
- December 22, 2023, 20:36 UTC
- CVE record updated
- August 2, 2024, 22:16 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:39 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-50730
Is CVE-2023-50730 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.83% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of typelevel grackle are affected by CVE-2023-50730?
org.typelevel:grackle-core_2.13 before 0.18.0, org.typelevel:grackle-core_3 before 0.18.0, org.typelevel:grackle-core_sjs1_2.13 before 0.18.0, org.typelevel:grackle-core_sjs1_3 before 0.18.0, org.typelevel:grackle-core_native0.4_2.13 before 0.18.0, org.typelevel:grackle-core_native0.4_3 before 0.18.0 and 6 more, per the GitHub advisory GHSA-g56x-7j6w-g8r8. The tables above give every range the sources list.
Which version fixes CVE-2023-50730?
0.18.0, per the GitHub advisory GHSA-g56x-7j6w-g8r8. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-50730?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-50730?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.