What’s Vulnerable › Vulnerabilities
CVE-2024-39895: Directus GraphQL Field Duplication Denial of Service (DoS)
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-07-08 · updated 2026-06-17
- Weakness: CWE-400
Description
Directus is a real-time API and App dashboard for managing SQL database content. A denial of service (DoS) attack by field duplication in GraphQL is a type of attack where an attacker exploits the flexibility of GraphQL to overwhelm a server by requesting the same field multiple times in a single query. This can cause the server to perform redundant computations and consume excessive resources, leading to a denial of service for legitimate users. Request to the endpoint /graphql are sent when visualizing graphs generated at a dashboard. By modifying the data sent and duplicating many times the fields a DoS attack is possible. This vulnerability is fixed in 10.12.0.
Affected products
- directus: before 10.12.0 — fixed in 10.12.0
How to fix
Upgrade to a fixed version: directus 10.12.0. Check the vendor advisory for mitigations.
References
- https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8
- https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4
- https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8
- https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4
Get alerted when CVE-2024-39895 or the next vulnerability affects your stack