CVE-2026-35413

Directus GraphQL Schema SDL Disclosure Setting

Published Apr 6, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Directus is a real‑time API and dashboard for managing SQL databases. An earlier release than 11.16.1 contains a logic error that lets an attacker bypass the GRAPHQL_INTROSPECTION setting. The server_specs_graphql resolver, exposed on the /graphql/system endpoint, returns the full SDL representation of the GraphQL schema even when introspection queries are disabled. This reveals collection names, field names, types and relationships to unauthenticated users at the public permission level and to authenticated users at their permitted level, constituting an information disclosure that can assist in further attacks.

Affected Systems

Any Directus installation running a version earlier than 11.16.1 and having the GRAPHQL_INTROSPECTION configuration set to false is vulnerable. The flaw lives in the component that serves the /graphql/system endpoint and affects all deployments that expose the GraphQL API. Both unauthenticated visitors and users with GraphQL permissions can trigger the disclosure.

Risk and Exploitability

The CVSS score of 5.3 reflects moderate severity. With an EPSS score of less than 1 % the vulnerability is considered low probability of exploitation. It is not included in the CISA KEV catalog. Exploitation is straightforward: an attacker needs network access to the Directus instance’s /graphql/system endpoint and can retrieve the schema by issuing a simple request. Because the data disclosed consists of the schema’s structural information rather than actual content, the immediate confidentiality impact is limited, yet it can aid attackers in mapping the internal data model and planning subsequent attacks such as injection or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Directus to version 11.16.1 or later to fix the schema discovery flaw.
  • If an upgrade is not yet possible, set GRAPHQL_INTROSPECTION to true so that all schema queries are blocked.
  • Restrict network access to the /graphql/system endpoint or disable the server_specs_graphql resolver if not required for your operations.

Generated by OpenCVE AI on April 20, 2026 at 20:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wxwm-3fxv-mrvx Directus: GraphQL Schema SDL Disclosure Setting
History
Type Values Removed Values Added
First Time appeared Monospace
Monospace directus
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
Vendors & Products Monospace
Monospace directus
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Directus
Directus directus
Vendors & Products Directus
Directus directus
Type Values Removed Values Added
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.
Title Directus GraphQL Schema SDL Disclosure Setting
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 8, 2026, 2:05 PM
Reserved
Apr 2, 2026, 5:03 PM
Status
Analyzed
Published
Apr 6, 2026, 10:16 PM
Modified
Jul 24, 2026, 9:10 PM