{"id":"CVE-2026-35441","aliases":["CVE-2026-35441","GHSA-ph52-67fq-75wj"],"related":[],"kind":"vulnerability","state":"published","title":"Directus Affected by GraphQL Alias Amplification Denial-of-Service Due to Missing Query Cost/Complexity Limits","summary":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, Directus' GraphQL endpoints (/graphql and /graphql/system) did not deduplicate resolver invocations within a single request. An authenticated user could exploit GraphQL aliasing to repeat an expensive relational query many times in a single request, forcing the server to execute a large number of independent complex database queries concurrently, multiplying database load linearly with the number of aliases. The existing token limit on GraphQL queries still permitted enough aliases for significant resource exhaustion, while the relational depth limit applied per alias without reducing the total number executed. Rate limiting is disabled by default, meaning no built-in throttle prevented this from causing CPU, memory, and I/O exhaustion that could degrade or crash the service. Any authenticated user, including those with minimal read-only permissions, could trigger this condition. This vulnerability is fixed in 11.17.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, Directus' GraphQL endpoints (/graphql and /graphql/system) did not deduplicate resolver invocations within a single request. An authenticated user could exploit GraphQL aliasing to repeat an expensive relational query many times in a single request, forcing the server to execute a large number of independent complex database queries concurrently, multiplying database load linearly with the number of aliases. The existing token limit on GraphQL queries still permitted enough aliases for significant resource exhaustion, while the relational depth limit applied per alias without reducing the total number executed. Rate limiting is disabled by default, meaning no built-in throttle prevented this from causing CPU, memory, and I/O exhaustion that could degrade or crash the service. Any authenticated user, including those with minimal read-only permissions, could trigger this condition. This vulnerability is fixed in 11.17.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nDirectus' GraphQL endpoints (`/graphql` and `/graphql/system`) did not deduplicate resolver invocations within a single request. An authenticated user could exploit GraphQL aliasing to repeat an expensive relational query many times in a single request, forcing the server to execute a large number of independent complex database queries concurrently, multiplying database load linearly with the number of aliases. The existing token limit on GraphQL queries still permitted enough aliases for significant resource exhaustion, while the relational depth limit applied per alias without reducing the total number executed. Rate limiting is disabled by default, meaning no built-in throttle prevented this from causing CPU, memory, and I/O exhaustion that could degrade or crash the service. Any authenticated user, including those with minimal read-only permissions, could trigger this condition.\n\n### Fix\n\nA request-scoped resolver deduplication mechanism was introduced and applied broadly across all GraphQL read resolvers, both system and items endpoints. When multiple aliases in a single request invoke the same resolver with identical arguments, only the first call executes; all subsequent aliases share its result. This eliminates the amplification factor regardless of how many aliases a query contains.\n\n### Impact\n\n- **Service degradation or outage:** Concurrent complex database queries exhaust the connection pool and server resources, affecting all users\n- **Low privilege required:** Any authenticated user, including those with read-only access to a single collection, can trigger this condition\n- **Linear scaling:** Impact scales with the number of aliases and depth of relational queries\n- **Compounded by concurrency:** Multiple simultaneous requests multiply the effect further","format":"markdown","source":"ghsa"},{"lang":"es","text":"Directus es un panel de control de API y aplicación en tiempo real para gestionar contenido de base de datos SQL. Antes de la versión 11.17.0, los endpoints GraphQL de Directus (/graphql y /graphql/system) no deduplicaban las invocaciones del resolvedor dentro de una única solicitud. Un usuario autenticado podría explotar el aliasing de GraphQL para repetir una consulta relacional costosa muchas veces en una única solicitud, forzando al servidor a ejecutar un gran número de consultas de base de datos complejas e independientes de forma concurrente, multiplicando la carga de la base de datos linealmente con el número de alias. El límite de tokens existente en las consultas GraphQL aún permitía suficientes alias para un agotamiento significativo de recursos, mientras que el límite de profundidad relacional se aplicaba por alias sin reducir el número total ejecutado. La limitación de velocidad está deshabilitada por defecto, lo que significa que ningún mecanismo de limitación incorporado impidió que esto causara agotamiento de CPU, memoria y E/S que podría degradar o bloquear el servicio. Cualquier usuario autenticado, incluidos aquellos con permisos mínimos de solo lectura, podría desencadenar esta condición. Esta vulnerabilidad está corregida en la versión 11.17.0.","source":"nvd"}],"published":"2026-04-04T06:12:52.000Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"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,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 11.17.0","status":"affected"}],"vendor":"directus","product":"directus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.17.0"}],"ecosystem":"npm","package":"directus","purl":"pkg:npm/directus","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.17.0"}],"vendor":"monospace","product":"directus","cpe":"cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-ph52-67fq-75wj","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35441","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/directus/directus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-07T14:47:06.144Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35441","url":"https://www.cve.org/CVERecord?id=CVE-2026-35441","licence":"CVE Terms of Use","modified":"2026-04-07T15:08:57.877Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ph52-67fq-75wj","url":"https://github.com/advisories/GHSA-ph52-67fq-75wj","licence":"CC-BY-4.0","modified":"2026-04-07T14:35:45.976Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35441","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35441","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:18.073Z","epss":{"score":0.00376,"percentile":0.33621,"date":"2026-12-01T12:00:22.000Z"}}