Skip to main content
VulnerabilityPublished Updated

CVE-2024-40094: graphql-java

Affects graphql-javaSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium · fixed in 21.5 : update graphql-java when convenient.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 21.5, 20.9, 19.11
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade com.graphql-java/graphql-java to 21.5, 20.9 or 19.11.

Affected software

ProductAffectedFixed in
Mavencom.graphql-java/graphql-javapkg:maven/com.graphql-java/graphql-javaOther threatsAffected
  • <19.11
  • >19.11 <20.9
  • >20.9 <21.5
Fixed in
  • 19.11
  • 20.9
  • 21.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-40094, organizations should immediately upgrade graphql-java to one of the fixed versions: 21.5, 20.9, or 19.11. Applying these patches ensures that ExecutableNormalizedFields are properly handled, preventing abuse via introspection queries. Beyond patching, implement strict rate limiting on GraphQL endpoints to reduce the impact of potential abuse. Employ query complexity analysis and depth limiting to restrict overly complex or deeply nested queries that could strain server resources. Monitor API traffic for unusual patterns indicative of abuse, such as repeated introspection queries or spikes in query volume. Consider disabling introspection queries in production environments if not required, or restrict them to authenticated and authorized users only. Regularly review and update dependency management processes to ensure timely application of security patches. Finally, incorporate these mitigations into incident response plans to quickly detect and respond to potential exploitation attempts.

Description

GraphQL Java (aka graphql-java) before 21.5 does not properly consider ExecutableNormalizedFields (ENFs) as part of preventing denial of service via introspection queries.20.9 and 19.11 are also fixed versions.

References

Community reviews

Loading reviews…