5.3medium
Directus GraphQL Schema SDL Disclosure Setting
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.69% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-wxwm-3fxv-mrvx
Description
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.16.1, when GRAPHQL_INTROSPECTION=false is configured, Directus correctly blocks standard GraphQL introspection queries (__schema, __type). However, the server_specs_graphql resolver on the /graphql/system endpoint returns an equivalent SDL representation of the schema and was not subject to the same restriction. This allowed the introspection control to be bypassed, exposing schema structure (collection names, field names, types, and relationships) to unauthenticated users at the public permission level, and to authenticated users at their permitted permission level. This vulnerability is fixed in 11.16.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| directus directus | < 11.16.1 | CVE List |
| directus (npm) | before 11.16.1 | GitHub Advisory Database |
| monospace directus | before 11.16.1 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.16.1, when GRAPHQL_INTROSPECTION=false is configured, Directus correctly blocks standard GraphQL introspection queries (__schema, __type). However, the server_specs_graphql resolver on the /graphql/system endpoint returns an equivalent SDL representation of the schema and was not subject to the same restriction. This allowed the introspection control to be bypassed, exposing schema structure (collection names, field names, types, and relationships) to unauthenticated users at the public permission level, and to authenticated users at their permitted permission level. This vulnerability is fixed in 11.16.1.
GitHub Advisory Database
Summary
When GRAPHQL_INTROSPECTION=false is configured, Directus correctly blocks standard GraphQL introspection queries (__schema, __type). However, the server_specs_graphql resolver on the /graphql/system endpoint returns an equivalent SDL representation of the schema and was not subject to the same restriction. This allowed the introspection control to be bypassed, exposing schema structure (collection names, field names, types, and relationships) to unauthenticated users at the public permission level, and to authenticated users at their permitted permission level.
Impact
Administrators who set GRAPHQL_INTROSPECTION=false to hide schema structure from clients would have had a false sense of security, as equivalent schema information remained accessible via the SDL endpoint without authentication.
Credit
This vulnerability was discovered and reported by bugbunny.ai.
NVD (es)
Directus es un API en tiempo real y panel de control de aplicaciones para gestionar contenido de bases de datos SQL. Antes de 11.16.1, cuando GRAPHQL_INTROSPECTION=false está configurado, Directus bloquea correctamente las consultas de introspección GraphQL estándar (__schema, __type). Sin embargo, el resolvedor server_specs_graphql en el endpoint /graphql/system devuelve una representación SDL equivalente del esquema y no estaba sujeto a la misma restricción. Esto permitió que se eludiera el control de introspección, exponiendo la estructura del esquema (nombres de colecciones, nombres de campos, tipos y relaciones) a usuarios no autenticados en el nivel de permiso público, y a usuarios autenticados en su nivel de permiso permitido. Esta vulnerabilidad está corregida en 11.16.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35413 changed 2026-04-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wxwm-3fxv-mrvx changed 2026-04-07 | CC-BY-4.0 |
| NVD | CVE-2026-35413 changed 2026-07-24 | Public domain |